~/talk

Building Reliable, Scalable Services with Clojure and Core.async

Talkat Clojure/north 2020 · 2020-06-25..06-26· [distributed-systems, concurrency]
slides:none on file

A Kafka-to-Elasticsearch bulk writer uses the Elasticsearch Java bulk API with asynchronous callbacks, which causes uncontrolled consumption, offset loss, and possible data loss; replacing ad-hoc callbacks with core.async channels and a go-fsm DSL connects a blocking data channel (backpressures Kafka) to a non-blocking control channel (bulk-start/stop, es green/red), enabling retries, exponential backoff, and safe shutdown. Implementation runs in production two years (≈300 rps per instance) and is testable by replaying channel events; code will be posted to GitHub.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:54Problem identification
  3. 3:30Analyzing service failures
  4. 7:42Proposed technical solutions
  5. 10:43Implementing the loop
  6. 15:00Handling degraded states
  7. 17:44Demonstrations
  8. 19:25Borrowing FSM patterns
  9. 23:11Lessons and conclusions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.