~/talk

Streaming financial market data through WebSockets

links:none on file
slides:none on file

XM’s backend streams market prices via AWS WebSocket API Gateway, Kafka and Kubernetes, using Java 21 with ZGC and aggressive batching; a DynamoDB subscription table is replaced by a sharded Kinesis stream plus statefulset consumers to eliminate hot-partition throttling. Payloads shrink so a 32KB post carries ~80 prices, async HTTP clients have zero retries, and adaptive partition assignment evens load. System sustains 120,000 prices per second and meets P99 < 600ms, scaling to 30,000 concurrent connections.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30Who XM is
  3. 3:15Live demo trading platform
  4. 4:39System requirements SLAs
  5. 5:21Streaming financial data challenges
  6. 7:49XM real-time event architecture
  7. 9:13WebSocket API Gateway AWS
  8. 12:00Data flow client to price
  9. 18:19Java service architecture limits
  10. 20:05Scaling Kafka and Kubernetes
  11. 21:34Hot partitions impact
  12. 23:00Kubernetes optimizations
  13. 26:57DynamoDB bottlenecks fixes
  14. 29:47DynamoDB to Kinesis switch
  15. 33:16Kinesis shard scaling stateful
  16. 35:45Other solutions limits
  17. 36:47Fixing Kafka partition data
  18. 37:29Performance testing results
  19. 38:32Key scaling lessons
  20. 39:56Performance testing best practices
~/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.