{"repo":"tall15421542-lab/ticket-master","free":true,"listed":false,"github":"https://github.com/tall15421542-lab/ticket-master","clone":"git clone https://github.com/tall15421542-lab/ticket-master.git","description":"A high-throughput, consistent ticket reservation system that can process 83000+ reservations per second","language":"Java","stars":104,"topics":["distributed-systems","gcp","java","k6","kafka","kafka-streams","kubernetes","load-testing","system-design","terraform"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Ticket Master - MING HUNG Version Ticket Master is a high-performance ticket reservation system capable of processing 1,000,000 reservations within 12 seconds . The system is built on Kafka Streams, providing: - Stateful Stream Processing : Utilizes RocksDB as the state backend for efficient state read/write operations. - Exactly-Once Processing Semantics : Ensures data consistency even in the presence of failures. - Horizontal Scalability : Scales seamlessly with the number of Kafka topic partitions. - State Querying : Supports Interactive Queries to directly access the application’s local state store. I published three Medium stories to introduce this system: Part 1: Dataflow Architecture Part 2: Data-Driven Optimizations Part 3: Infra, Observability, Load Test Architecture The system adopts Dataflow architecture, originally introduced in Designing Data-Intensive Applications, consisting of: - Ticket Service : Acts as the API gateway, handling users’ HTTP requests and forwarding reservation requests to the stream processing system. - Reservation Service : Kafka Streams application that manages the reservation state. - Event Service : Kafka Streams application that manages the event and section availability state. Architecture Diagram Observability Traces / Metrics Powered by OpenTelemetry Java Agent. Collected via OTLP Collector and exported to Google Cloud Trace. Log Logs are written to standard output and collected using GKE's native logging support. Deployment CI/CD Pipe","default_branch":null,"files":null,"tree":[],"storefront":"/r/tall15421542-lab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tall15421542-lab/ticket-master/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}