# java-up-up/damai

🔥 🔥 官方推荐 🔥 🔥 高并发大麦网售票系统，使用 SpringCloud、Kafka、Redis、Sentinel、ElasticSearch、ShardingSphere 等，通过优化锁的策略、多级缓存管理、数据提前预热、精确的定制限流等多种策略，显著的降低下单延迟。此外还解决各种高并发难题的实际落地解决方案。是面试、就业、提高技术的不二选择！

Repository: https://github.com/java-up-up/damai
Canonical: https://ross.abutalabs.com/products/damai
Homepage: https://javaup.chat
Language: Java
License: Apache-2.0
License Family: permissive
Topics: elasticsearch, java, nacos, redis, shardingsphere, spring, springboot, springboot3, springcloud, elk, kafka, redisson, springcloudalibaba, docker, gateway, log4j2, sentinel
Last push: 2026-08-13T08:21:32+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 35, longevity 56
- inputs: {"age_days": 785, "days_push": 20, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1061, forks 103 (observed 2026-08-28T04:03:25.955284+00:00)

## What it is
A high-concurrency online ticket booking system (modeled after Damai/大麦网) built with SpringCloud, SpringCloud Alibaba, Kafka, Redis, Sentinel, ElasticSearch, and ShardingSphere. It demonstrates production-style solutions to high-traffic problems such as multi-level caching, distributed locks, data pre-warming, rate limiting, and database sharding, and is primarily aimed at Java developers preparing for interviews.

## Use cases
- learn how to build a high-concurrency ticket booking system in Java
- study real-world solutions for flash-sale / ticket-grabbing traffic spikes
- practice microservices architecture with SpringCloud Alibaba, Nacos, and Kafka
- learn multi-level caching, cache penetration/breakdown/avalanche handling
- understand distributed lock and local lock optimization strategies
- learn database sharding with ShardingSphere for massive order data
- prepare a resume project with high-concurrency highlights for Java interviews
- study rate limiting and circuit breaking with Sentinel and Hystrix

## When to choose
- you are a Java developer preparing for backend interviews and need a project with high-concurrency highlights
- you want a full reference implementation of a SpringCloud microservices ticketing system
- you want to study production-style patterns for caching, locking, rate limiting, and sharding
- you need an end-to-end example combining Redis, Kafka, ElasticSearch, Sentinel, and ShardingSphere

## When to avoid
- you need a production-ready ticketing platform to run your business as-is
- you are not working in the Java/Spring ecosystem
- you want a minimal demo rather than a large multi-service system with heavy infrastructure requirements
- you need a fully supported product with commercial guarantees

## Facets
- artifact type: application
- maturity: active
- function: web-framework, caching, message-queue, search-engine, rate-limiting, database, monitoring, api-framework
- domain: web-development, backend, microservices, developer-tools, e-commerce, education, performance
- platform: jvm, self-hosted
- tags: ticketing, high-concurrency, spring-cloud, spring-cloud-alibaba, redis, kafka, elasticsearch, shardingsphere, sentinel, nacos, distributed-lock, flash-sale, interview-preparation, learning-project, docker, linux, web-server

## Member repositories
- java-up-up/damai (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:25.955284+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:56:50.953256+00:00, confidence not recorded.
  - readme: https://github.com/java-up-up/damai (fetched 2026-08-28T04:03:25.955284+00:00, sha 56e5e37f816c)
  - homepage: https://javaup.chat (fetched 2026-08-29T12:58:47.932769+00:00, sha d3a161d83591)
  - site_page: https://javaup.chat/ai-programming/codex/getting-started (fetched 2026-08-29T12:58:47.935352+00:00, sha dd995e715d20)
  - site_page: https://javaup.chat/link-flow/business-intro/getting-started-overview (fetched 2026-08-29T12:58:47.938882+00:00, sha 15ce5c5d6cd7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
