Adetayo Akinsanya unkletayo.dev
Engineering / Tags / #Concurrency
#Concurrency 8 Articles

Articles tagged with #Concurrency

A curated list of engineering series, deep dives, and notes related to #Concurrency.

Engineering Java Collections From Scratch • Part 24 2026-11-06

Java Specialized Queues: SynchronousQueue Handoffs & DelayQueue Expiration

Master Java SynchronousQueue and DelayQueue internals. Learn zero-capacity thread handoffs and how Delayed Min-Heaps power task schedulers.

Read →
Engineering Java Collections From Scratch • Part 23 2026-11-03

Lock-Free Sorted Range Queries: ConcurrentSkipListMap & SkipLists in Java

Learn how ConcurrentSkipListMap uses SkipLists and atomic CAS pointers to deliver lock-free sorted range queries across 64+ CPU cores in Java.

Read →
Engineering Java Collections From Scratch • Part 22 2026-10-30

Java BlockingQueue Performance: ArrayBlockingQueue vs LinkedBlockingQueue

Compare ArrayBlockingQueue vs LinkedBlockingQueue in Java. Learn how dual-lock splitting eliminates contention in multi-threaded task queues.

Read →
Engineering Java Collections From Scratch • Part 18 2026-10-16

Java ConcurrentHashMap Internals: Lock-Free CAS & Fine-Grained Bucket Sync

Deep dive into Java 8+ ConcurrentHashMap internals. Learn how lock-free CAS, volatile reads, and bucket-level synchronized locks handle high concurrency.

Read →
Engineering Java Collections From Scratch • Part 17 2026-10-13

Java Concurrent Collections: CopyOnWriteArrayList vs Unmodifiable vs List.of()

Compare Fail-Fast vs Fail-Safe collections in Java. Learn CopyOnWriteArrayList memory mechanics and the difference between List.of() and unmodifiable wrappers.

Read →
Engineering Database Internals from First Principles • Part 9 2026-09-15

Multi-Version Concurrency Control (MVCC): How Non-Blocking Snapshot Reads Work

Learn how modern databases like MySQL InnoDB implement Multi-Version Concurrency Control (MVCC) to achieve non-blocking snapshot reads using DB_TRX_ID and roll pointers.

Read →
Engineering Database Internals from First Principles • Part 7 2026-09-08

Database Concurrency Anomalies: Dirty Reads, Non-Repeatable Reads, Phantoms & Lost Updates

Explore database concurrency anomalies including dirty reads, non-repeatable reads, phantom reads, and lost updates, with interleaved transaction timelines.

Read →
Engineering Database Internals from First Principles • Part 1 2026-08-18

Why Files Fail as Databases: Concurrent Access, Update Anomalies & Crash Recovery

Discover why storing application data inside flat CSV or JSON files leads to race conditions, lost updates, corrupted data on crash, and performance failure.

Read →