Interview Guide to Message Middleware: RocketMQ
A comprehensive interview-oriented guide to RocketMQ, covering concepts, architecture, guarantees, and real-world usage patterns.
8 posts
A comprehensive interview-oriented guide to RocketMQ, covering concepts, architecture, guarantees, and real-world usage patterns.
A comprehensive guide to Java multithreading, covering thread fundamentals, lifecycle, synchronization, and thread pool design.
A comprehensive Redis interview guide covering core concepts, data structures, consistency, persistence, high availability, and production troubleshooting.
A deep dive into the JDK 7 HashMap implementation, explaining capacity calculation, load factor, and resize behavior.
说起JAVA并发编程,就不得不聊聊CAS(Compare And Swap)和AQS了()。 --- > CAS(Compare And Swap),即比较并交换。是解决多线程并行情况下使用锁造成性能损耗的一种机制,CAS操作包含三个操作数——内存位置(V)、预期原值(A)和新值(B)。如果内存位置...
An in-depth explanation of CAS (Compare-And-Swap) and AQS (AbstractQueuedSynchronizer), the foundation of Java concurrent programming.
A detailed comparison of Java's synchronized keyword and the Lock API, explaining their differences, use cases, and best practices.
A practical discussion on cache update strategies using Redis, focusing on consistency, concurrency, and real interview scenarios.