~/talk

High Performance Stream Processing

Talkat SpringOne2GX 2015 · 2015-09-14..09-17· [microservices, data-engineering]
speakerdeck:smaldini
links:none on file
links:none on file
slides:none on file

Benchmarks show concrete tradeoffs: in-memory direct binding hits about 13 million 100‑byte events/sec on a single VM, RabbitMQ non‑persistent hits ~30k/sec (but batching to 10 → 158k, to 100 → 453k), and Kafka yields ~2 million/sec at 100 bytes and ~600k/sec at 1 KB. Tools used include iperf, dd, Kafka and Rabbit perf tests and custom test harnesses; disk, network and VM type matter. Serialization profiling finds Kryo roundtrip ~1.4µs (1,443 ns) and recommends custom Kryo serializers for hot POJOs. Reactive/ring‑buffer processing reduces allocations versus thread‑pool queues; JMX and config changes can silently cut throughput.

AI-written summary · about

  1. 0:00Introduction to stream processing
  2. 2:19Benchmarking challenges and goals
  3. 5:51Hardware and network throughput measurement
  4. 12:56Disk performance and benchmarking tools
  5. 15:11Message size impact on throughput
  6. 17:00Kafka and RabbitMQ performance comparison
  7. 20:15Upgrades and configuration surprises
  8. 23:55Testing and verification best practices
  9. 27:57Network hops and module composition
  10. 32:45Serialization and deserialization costs
  11. 39:59Optimizing Kryo serialization
  12. 45:16Custom serializers in Spring XD
  13. 51:02Benchmarking serialization performance
  14. 59:53Processor speed and bottlenecks
  15. 1:04:09Concurrency and thread overhead
  16. 1:09:51Reactive programming with Reactor
  17. 1:13:21Ring buffer and event loops
  18. 1:16:14Scatter gather and parallel calls
  19. 1:20:09Micro batching optimization
  20. 1:25:08Optimization pitfalls and summary
~/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.