~/talk

A Kafka Client’s Request: There and Back Again

Talkat Berlin Buzzwords 2023 · on Monday, 2023-06-19· at 14:00· Palais Atelier· [distributed-systems]
slides:none on file

Follows a Kafka client request from producer.send() through serialization, partitioning, batching and optional compression to the broker, where network threads hand it to IO threads that write to page cache (not immediate disk) and hold the request in purgatory until replicas ack — replication checks run about every 500 ms. Covers concrete defaults: linger.ms=0, batch.size≈16KB, buffer.memory≈32MB, max.request.size≈1MB, acks=all, network threads default 3 and IO threads default 8, and the metrics to watch (request-latency, localTimeMs, remoteTimeMs, totalTimeMs).

AI-written summary · about

  1. 0:00Intro
  2. 2:05A Schema and a Topic
  3. 6:57Partitioning Configurations
  4. 12:20Batching Configurations
  5. 16:29Batching Metrics
  6. 21:00Request Configurations
  7. 24:04Request Metrics (General)
  8. 26:28Socket Receive Buffer
  9. 27:10Network threads
  10. 28:30Request Queue
  11. 29:54I/O Threads, aka Request Handler Threads
  12. 30:56Page Cache and To Disk
  13. 32:295. Page Cache/Disk Configuration and Monitoring
  14. 35:04Merder Purgatory (but actually)
  15. 36:50Response Queue
  16. 37:31Network thread hand-off
  17. 37:51Socket Send Buffer
  18. 38:24And back again to the Producer
  19. 39:55Start your own journey..
~/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.