Tagged articles
ticketing system
39 articles · Page 1 of 1
This article explains how to design a high‑concurrency ticket‑snatching service that can handle millions of requests by combining multi‑layer load balancing, weighted Nginx round‑robin, in‑memory stock with Redis‑backed global inventory, and Go’s native concurrency, complete with code samples and performance results.
GoRedishigh concurrency
0 likes · 19 min read

This article explores how to design a high‑concurrency ticket‑spike service inspired by China’s 12306 platform, covering multi‑layer load balancing, local stock pre‑allocation, Redis‑based global inventory control, Go implementation details, and performance testing that demonstrates handling millions of simultaneous requests.
Redishigh concurrencyticketing system
0 likes · 21 min read

When half a million users simultaneously try to buy 5,000 concert tickets, naive ordering logic leads to race conditions and double bookings, so the article walks through the root causes, compares pessimistic, optimistic, and Redis distributed locks, and presents an industrial‑grade microservice design with a three‑stage state machine to ensure strong consistency and high availability.
ConcurrencyDistributed LockOptimistic Lock
0 likes · 8 min read

This article explains how to design a high‑concurrency ticket‑spike service that can handle millions of requests by using multi‑layer load balancing, Nginx weighted round‑robin, local stock caching, and atomic Redis operations, complete with Go code examples and performance testing.
Redishigh concurrencynginx
0 likes · 18 min read

During peak travel periods, 12306 often displays available seats that cannot be booked, a problem caused by intricate inventory deduction across multiple travel segments, heavy caching strategies, and real‑time load pressures that lead to stale data and purchase failures.
CachingConcurrencybackend architecture
0 likes · 6 min read

Bilibili’s ticketing platform evolved from a single‑transaction, synchronous design to an asynchronous batch system and finally to a Redis‑cached inventory layer, adding DB isolation changes, sharding, bloom‑filter protection and adaptive rate limiting, which together enabled handling up to 930 k requests per second and stable high‑concurrency ticket sales.
Asynchronous ProcessingRedis cachingbackend optimization
0 likes · 18 min read

The article explores the evolution, architecture, and massive scalability of China’s 12306 railway ticketing system, highlighting its real‑time processing, distributed three‑tier design, historical development from Unix to modern CS platforms, and the unique challenges that make it one of the world’s most robust backend systems.
Chinadistributed architecturehigh concurrency
0 likes · 9 min read

The article reviews the historical development, distributed architecture, high‑concurrency handling, and operational challenges of China's 12306 railway ticketing platform, highlighting its evolution from early Unix‑based systems to the modern large‑scale, real‑time service that supports hundreds of millions of users during peak travel periods.
ChinaRailwaydistributed architecture
0 likes · 9 min read

An in‑depth look at the evolution of China’s 12306 railway ticketing platform, tracing its origins from early Unix‑based reservation software through successive upgrades, distributed architectures, massive concurrency handling, and the unique centralized design that makes it one of the world’s most robust high‑traffic web systems.
Chinadistributed architecturehigh concurrency
0 likes · 10 min read

The article provides a detailed, informal yet informative overview of the evolution, architecture, and massive scale challenges of China’s 12306 railway ticketing platform, tracing its roots from early Unix‑based systems to modern distributed backend solutions handling billions of requests during peak travel periods.
ChinaRailwaybackend architecture
0 likes · 9 min read


LouZaiNov 10, 2023 · Backend Development
This article walks through the full architecture of a modern bus and subway ticketing platform, covering functional and non‑functional requirements, core components, interaction flows, database schema, shortest‑path routing with Dijkstra, QR‑code generation in Go, and high‑concurrency strategies.
QR Codebackend designbus
0 likes · 16 min read

This article explores the architecture and implementation of a high‑concurrency ticket‑snatching system, covering load‑balancing strategies, Nginx weighted round‑robin configuration, Redis‑based inventory management, and Go code examples that together enable handling millions of simultaneous requests while preventing overselling and ensuring high availability.
GoRedishigh concurrency
0 likes · 20 min read

This article presents a comprehensive design and implementation of a high‑concurrency train‑ticket flash‑sale system, covering distributed architecture, load‑balancing strategies, Nginx weighted round‑robin configuration, Go‑based services, Redis‑backed stock management, and performance testing results.
Redisdistributed architecturehigh concurrency
0 likes · 20 min read

This article presents a complete case study of building a high‑concurrency ticket‑booking service, covering system architecture, three‑layer load balancing (OSPF, LVS, Nginx), Nginx weighted round‑robin configuration, Go‑based request handling, Redis‑backed stock deduction, performance testing with ApacheBench, and practical lessons for preventing overselling and ensuring high availability.
high concurrencyticketing system
0 likes · 19 min read

This article examines the historical development, distributed architecture, and high‑concurrency challenges of China’s 12306 railway ticketing platform, tracing its origins from early Unix‑based systems to modern multi‑layered backend solutions that support hundreds of millions of users during peak travel periods.
Railwaybackend architecturedistributed systems
0 likes · 8 min read

This technical article explains how to handle millions of simultaneous train‑ticket purchase requests by combining Nginx weighted load balancing, local in‑memory stock deduction, and a centralized Redis stock counter using Go, ensuring no overselling, high availability, and efficient performance.
GoRedishigh concurrency
0 likes · 19 min read

This article explains how to build a high‑concurrency ticket‑seckill system that can handle millions of simultaneous requests by using multi‑layer load balancing, Nginx weighted round‑robin, local stock deduction, Redis atomic scripts, and Go’s native concurrency, and it demonstrates the implementation with complete code and performance testing.
GoRedisdistributed architecture
0 likes · 18 min read

This article explores the design of a high‑concurrency train‑ticket flash‑sale system, covering distributed load‑balancing strategies, Nginx weighted round‑robin configuration, local and remote stock deduction using Go and Redis, performance testing with ApacheBench, and key architectural lessons for preventing overselling and ensuring high availability.
GoRedisdistributed architecture
0 likes · 18 min read

This article explores the architecture and implementation of a high‑traffic ticket‑spike service, covering load‑balancing strategies, Nginx weighted round‑robin configuration, local and remote stock deduction using Go and Redis, fault‑tolerant buffering, and performance testing results.
GoRedishigh concurrency
0 likes · 18 min read

This article dissects how China’s 12306 ticket platform handles millions of simultaneous requests by using layered load balancing, distributed clustering, Nginx weighted round‑robin, Redis‑based pre‑deduction, and a Go implementation that demonstrates local and remote stock deduction, performance testing, and fault‑tolerant design.
Godistributed architecturehigh concurrency
0 likes · 21 min read

This article explores the architecture and implementation of a high‑concurrency ticket‑spike system inspired by China’s 12306 platform, covering load‑balancing strategies, Nginx weighted round‑robin, local and remote inventory deduction, Go concurrency patterns, Redis atomic operations, and performance testing results.
GoRedisticketing system
0 likes · 21 min read

The article analyzes the extreme‑traffic challenges of China’s 12306 ticket‑spike service, presents a layered load‑balancing architecture using OSPF, LVS, and Nginx weighted round‑robin, and demonstrates a Go‑based prototype that combines local in‑memory stock deduction with Redis‑backed global stock control to achieve stable, high‑throughput ticket purchasing without overselling.
GoRedishigh concurrency
0 likes · 20 min read

This article explores how to design a high‑concurrency ticket‑booking service capable of handling millions of simultaneous requests by combining distributed load‑balancing, Nginx weighted round‑robin, Go micro‑services, and Redis atomic inventory management, complete with code samples and performance benchmarks.
Godistributed architecturehigh concurrency
0 likes · 21 min read

This article explains how Alibaba's entertainment cloud platform designs layered backend architecture, hotspot data isolation, flow‑shaping funnels, multi‑level caching, and comprehensive stability measures to support ultra‑high‑concurrency ticket sales while preventing oversell and ensuring system reliability.
anti‑oversellbackend architecturehigh concurrency
0 likes · 11 min read


21CTOFeb 7, 2020 · Backend Development
This article explores the challenges of massive ticket‑buying spikes during holidays, explains the multi‑layer load‑balancing architecture, presents Go and Nginx configurations for weighted routing, demonstrates Redis‑based pre‑deduction of stock with Lua scripts, and shares stress‑test results showing thousands of requests per second on a single node.
GoRedisdistributed architecture
0 likes · 18 min read

This article analyzes the challenges of handling millions of simultaneous train‑ticket purchase requests, presents a multi‑layer load‑balancing architecture, introduces a pre‑deduction inventory strategy using Redis and local memory, and demonstrates a complete Go implementation with performance testing and key architectural insights.
GoRedisdistributed systems
0 likes · 18 min read


ITPUBDec 28, 2019 · Backend Development
This article dissects the extreme‑load challenges of China’s 12306 train‑ticket service, explains its multi‑layer load‑balancing architecture, and provides a complete Go‑based spike‑system example that uses Nginx weighted round‑robin, Redis atomic stock deduction, and channel‑based locking to safely handle millions of concurrent purchase requests.
GoRedishigh concurrency
0 likes · 20 min read

This article explains how to architect a high‑concurrency ticket‑seckill system that can handle one million simultaneous users buying ten thousand tickets, covering load‑balancing strategies, Nginx weighted round‑robin configuration, Go service implementation, Redis‑based inventory management, and performance testing results.
GoRedisdistributed systems
0 likes · 20 min read


ITPUBNov 20, 2019 · Backend Development
This article explains the design of a high‑concurrency train‑ticket flash‑sale system, covering distributed load‑balancing, Nginx weighted round‑robin, local and remote stock deduction, Go implementation, Redis atomic scripts, and performance testing with ApacheBench.
GoRedishigh concurrency
0 likes · 20 min read

This article explores the architecture and implementation of a high‑concurrency ticket‑spike system, covering load‑balancing strategies, Nginx weighted round‑robin configuration, Go‑based local stock deduction, Redis‑backed unified inventory control, and performance testing with ApacheBench to achieve stable, scalable ticket sales during peak demand.
Gohigh concurrencyload-balancing
0 likes · 19 min read

This article analyzes the 12306 ticket‑spike scenario, presents a distributed high‑concurrency architecture with layered load balancing, compares order‑creation strategies, demonstrates local and remote stock deduction using Go and Redis, and validates performance with ApacheBench testing.
GoRedisdistributed architecture
0 likes · 20 min read


ITPUBNov 10, 2019 · Backend Development
This article explains how to design a high‑concurrency ticket‑sniping service that can handle millions of users by using multi‑layer load balancing, Nginx weighted round‑robin, local stock deduction, Redis for unified inventory, and a Go implementation with performance testing.
GoRedishigh concurrency
0 likes · 19 min read

This article explores the architecture and implementation of a high‑concurrency train‑ticket flash‑sale system, covering load‑balancing strategies, weighted round‑robin Nginx configuration, local and remote stock deduction using Go and Redis, performance testing, and key lessons for building reliable, scalable services.
GoRedishigh concurrency
0 likes · 20 min read


21CTOOct 14, 2019 · Backend Development
This article explores the design of a high‑concurrency train‑ticket flash‑sale system, covering load‑balancing strategies, weighted Nginx configuration, in‑memory pre‑deduction, Redis Lua scripts, and Go implementation, and demonstrates its performance with real‑world stress testing.
GoRedishigh concurrency
0 likes · 18 min read

The article analyzes the complex business rules of China's 12306 train ticketing platform, proposes a domain‑driven design where the train aggregate root manages seat inventory and interval overlap, and outlines a CQRS/event‑sourcing architecture to achieve strong consistency and high concurrency.
cqrsdomain-driven designevent-sourcing
0 likes · 23 min read


21CTOFeb 16, 2016 · Backend Development
This article analyses the unique business complexity of China's 12306 railway ticketing system, proposes a domain‑driven aggregate design centered on the train route, explains how to model seat availability and ticket issuance, and outlines a CQRS/event‑sourcing architecture to achieve strong consistency and high concurrency.
DDDbackend architecturecqrs
0 likes · 25 min read

The article examines the technical challenges of the 12306 railway ticketing platform, comparing it with e‑commerce systems, and proposes a hybrid‑cloud solution that leverages private and public cloud resources to handle massive, unpredictable traffic while ensuring security, high availability, and elastic scalability.
Securityhigh concurrencyhybrid cloud
0 likes · 16 min read

The article analyzes the rapid growth of China’s 12306 online ticketing platform, the challenges of extreme traffic and concurrency during peak travel periods, and how a cloud‑native, memory‑centric architecture based on Pivotal Gemfire enabled scalable, high‑performance, and highly available ticketing services.
Distributed CachingPivotal Gemfirehigh concurrency
0 likes · 17 min read

The article analyzes the challenges of high‑traffic ticketing platforms, compares business models, identifies concurrency bottlenecks, and presents comprehensive front‑end and back‑end optimization techniques—including load balancing, caching, data partitioning, and queue‑based flow control—to achieve horizontal scalability and reliable performance.
CachingHorizontal Scalinghigh concurrency
0 likes · 7 min read
