Building Sports Betting Systems with Akka
summary
An actor-based arbitrage system uses Akka Streams to merge Betfair websockets and polled Pinnacle prices, spawn a per-market arbitrager, and place lay/back bets to lock tiny guaranteed wins (example: ~£6 on a £500 stake, typical green bet profits nearer £5–£6). The demo handles ~14,000 ops/sec and over 500,000 opportunities, adds supervision and compensating actions for failures, shards work across a cluster with a cluster singleton for single-source connections, and integrates Cloudflow/Kafka for deployment; the system proves to work end-to-end.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 2:07Bookmaking reality
- 4:34Soft vs sharp bookmakers
- 6:38Beating bookmakers
- 8:04Arbitrage and price movement
- 9:07Arbitrage mechanics
- 10:10Hedging with Betfair
- 11:36Automating arbitrage
- 13:00Market matching challenges
- 14:03Akka state machine design
- 15:50Streaming prices with Akka
- 17:13Arbitrage detection
- 19:22Live arbitrage demo
- 20:25Monitoring with Akka Streams
- 21:28Failure handling
- 23:19Price change risks
- 24:43Stateful processing
- 26:49Scaling with Akka Cluster
- 28:32Kafka and Cloudflow integration
- 29:54Cost-effective deployment
- 30:14Q&A
related talks
27mFour Principles of Reactive Architectures
39mWin 1 Million at Blackjack with Akka
46mAkka Streams & Reactive Streams in action
37mAkka Present and Future
51mUp up and Out: Scaling Software with Akka
42mLearn you Akka Streams for great Good!
53mDistributed Eventsourcing with Akka
01h 07mA Practical Introduction to Akka Streams
