Building a realtime ticket booking solution with Kafka, FastAPI, and Ably
The future of events such as summits, conferences or concerts is brighter than ever thanks to hybrid events that combine in-person and online happenings. This allows event organizers to reach much larger, geographically distributed audiences. To provide a great ticket booking experience for these global audiences, it's crucial to build a dependable realtime ticket booking solution with characteristics such as scalability, realtime data flow, and data integrity. Key technologies include FastAPI, Apache Kafka on Confluent, ksqlDB, Ably, and Ngrok. The architecture of the ticket booking solution involves FastAPI for writing events to Kafka and consuming webhooks from Ably, Apache Kafka for internal event streaming and persistent storage, ksqlDB for stream processing, Ably for scalable and dependable data streaming to and from clients at the edge, and Ngrok as a proxy for ingesting webhooks sent from Ably into FastAPI.
Company
Ably
Date published
Oct. 12, 2021
Author(s)
Ben Gamble
Word count
4221
Language
English
Hacker News points
4