Tag: Concurrency
4 articles
Build MQ Prototype with BlockingQueue: Producer-Consumer Gap
Implement a minimal runnable message model with queue buffering and async decoupling using Java concurrency. BlockingQueue can explain MQ core interactions, but lacks persistence, ACK, retry, clust...
Guava Cache: concurrencyLevel and refreshAfterWrite in Pr...
Deep dive into concurrencyLevel, refreshAfterWrite and LoadingCache dynamic loading behavior, with horizontal comparison with custom LinkedHashMap LRU implementation.
MySQL Transaction Control: Lost Update, Locking and MVCC
Concurrent transaction problems: lost update, dirty read, non-repeatable read, phantom read, lock mechanism: shared lock, exclusive lock, MVCC. This article provides in-depth analysis of principles...
MySQL Transaction Issues: Dirty Read, Non-Repeatable Read...
Common issues in database transactions include dirty read, non-repeatable read, and phantom read. These issues are closely related to database isolation levels.