~/talk

10 LESSONS LEARNED FROM USING KAFKA IN 1000 SCALA MICROSERVICES

Talkat Scalar 2020 · on Friday, 2020-05-15· [microservices, scala]
slides:none on file

Wix runs ~1,400 Scala microservices on Kafka ingesting ~1 billion messages/day and built an internal library called Greyhound to standardize producers/consumers, hide boilerplate and expose features like automatic commits, re-wrote Greyhound with ZIO for lightweight fibers and parallelism, and a testkit that spins up embedded Kafka+Zookeeper. Retry is implemented via retry topics (single-partition tradeoffs) and dashboards feed Prometheus alerts. Polyglot Node.js services use a sidecar for Node.js proxy to Greyhound, and operations guard brokers at ~4,000 partitions and clusters at ~200,000 partitions.

AI-written summary · about

  1. 0:00Start
  2. 0:44Kafka Introduction
  3. 2:46Wix Setup
  4. 4:26Lesson Number One about Common Infrastructure
  5. 4:55Greyhound Library
  6. 6:24Simpler Consumer Api
  7. 9:09Parallel Consumption
  8. 11:28Error Handling
  9. 14:43Processing out of Order
  10. 19:03Yahoo Kafka Manager
  11. 19:58Live Topic Stream
  12. 22:16Documentation
  13. 23:54Discover Topics and Message Structures
  14. 26:58Monitoring
  15. 29:58Proactive Worker Maintenance Approach
  16. 31:52Lesson Number Seven about Cross Dc Producing
  17. 41:48Event-Driven End To End
  18. 42:26Use Case
  19. 47:59Sweet Spot of Centralization
~/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.