explaingit

doocs/advanced-java

78,970JavaAudience · developerComplexity · 4/5ActiveLicenseSetup · easy

TLDR

Chinese-language reference guide covering advanced Java backend concepts: message queues, caching, databases, distributed systems, and microservices architecture for experienced engineers.

Mindmap

mindmap
  root((advanced-java))
    High-Concurrency
      Message Queues
      Search Engines
      Caching Strategies
      Database Sharding
    Distributed Systems
      Dubbo Framework
      Distributed Locks
      Distributed Transactions
      CAP Theorem
    High-Availability
      Circuit Breakers
      Rate Limiting
      Fallback Patterns
      Sentinel vs Hystrix
    Microservices
      Service Governance
      Deployment Strategies
      Spring Cloud
      Migration Patterns
    Interview Prep
      Core Concepts
      Real-world Scenarios
      Best Practices

Things people build with this

USE CASE 1

Prepare for backend engineering interviews at Chinese tech companies by studying distributed systems and high-concurrency patterns.

USE CASE 2

Learn how to design message queue systems, caching layers, and database sharding for large-scale applications.

USE CASE 3

Understand microservices architecture, service governance, and deployment strategies for transitioning from monoliths.

USE CASE 4

Study distributed transaction patterns (TCC, XA) and consensus algorithms (CAP theorem) for building resilient systems.

Tech stack

JavaKafkaRedisElasticsearchDubboSpring CloudRabbitMQZookeeper

Getting it running

Difficulty · easy Time to first run · 5min
Use freely including commercial. Credit the author, share derivative work under the same license.

In plain English

advanced-java is a Chinese-language reference covering core interview questions and answers for experienced Java backend developers. The subtitle calls it a "complete guide" through advanced knowledge for internet-industry Java engineers. Most content is drawn from material attributed to "Zhonghua Shishan" and edited into structured topic guides. The README functions as a giant table of contents. The first section is high-concurrency architecture: message queues (Kafka, ActiveMQ, RabbitMQ, RocketMQ, idempotent consumption, reliable transmission, ordering, backlog handling), search engines (Elasticsearch's distributed architecture, write/query internals, Lucene basics, large-scale optimization), caching (Redis vs Memcached, data types, expiration policies, persistence, master-slave, sentinel, cluster mode, cache avalanche/penetration, double-write consistency), database sharding, read-write separation, and high-concurrency system design. A distributed-systems section covers Dubbo internals, serialization protocols, load balancing, distributed locks via Redis or Zookeeper, distributed transactions including TCC and XA, distributed sessions, and the CAP theorem. Further sections cover high-availability architecture (Hystrix thread pools, semaphores, request cache, fallback, circuit breaker, timeout, plus rate limiting and Sentinel-vs-Hystrix), and microservices (migration from monoliths, deployment strategies, Spring Cloud topics, service governance). Someone would use this when preparing for a Chinese-market backend interview or to study these engineering concepts. The primary language is Java; explanations are in Chinese.

Copy-paste prompts

Prompt 1
How do I implement idempotent message consumption in Kafka to prevent duplicate processing?
Prompt 2
Explain the differences between Redis Sentinel and Redis Cluster for high-availability caching.
Prompt 3
What are the trade-offs between TCC and XA for distributed transactions in a microservices architecture?
Prompt 4
How does Hystrix circuit breaker pattern work and when should I use Sentinel instead?
Prompt 5
Design a database sharding strategy for a system with millions of users and explain read-write separation.
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.