Spinning Your Drones with Cadence Workflows and Apache Kafka.
summary
Shows a concrete system that uses Cadence workflows plus Apache Kafka to run virtual drone deliveries, with separate order and drone workflows that signal each other and stream location updates every 10 seconds. Flight legs run as activities (at-most-once, retried, deterministic workflow code) and workflow state is recovered by replaying history. Tested to ~50 concurrent drones in a flat stress run and to 2,000 drones (about 4,000 workflows), ~125 workflows per core, with Kafka topics coordinating start/ready events.
AI-written summary · about
chapters (10)
- 0:00Introduction and background
- 1:28About the speaker and Cadence
- 2:34What are Cadence workflows
- 4:20Fault tolerance in Cadence
- 6:49Cadence use cases and examples
- 7:31Drone delivery workflow demo
- 10:22Cadence and Kafka integration
- 14:37Scalability test results
- 16:45Resources and further reading
- 17:50Q&A session
