Concurrency

Concurrency

Virtual threads, async/await, work-stealing, lock contention, memory models.

27Articles
27Topics covered
Articles in this category

All 27 articles, sorted alphabetically

Advertisement
ARTICLE · 01

The Virtual Thread Model: M:N Mapping in Java

The Virtual Thread Model: M:N Mapping in Java

Read article
ARTICLE · 02

Blocking & Unmounting: The Magic of Virtual Threads

Blocking & Unmounting: The Magic of Virtual Threads

Read article
ARTICLE · 03

Throughput vs. Latency - AICassindra

Throughput vs. Latency - AICassindra

Read article
ARTICLE · 04

Structured Concurrency: Taming the Threads

Structured Concurrency: Taming the Threads

Read article
ARTICLE · 05

Pinning Pitfalls: When Virtual Threads Get Stuck

Pinning Pitfalls: When Virtual Threads Get Stuck

Read article
ARTICLE · 06

Actor Model Architecture

How actors + message passing avoid shared state and enable location transparency.

Read article
ARTICLE · 07

Actor Pattern Explained

Erlang to Akka the abstraction that makes concurrency safe.

Read article
ARTICLE · 08

Async/Await Patterns

Beyond the basic example.

Read article
ARTICLE · 09

Coroutines vs Threads Architecture (Kotlin / Go / Rust)

How coroutine-based runtimes compare to Java virtual threads.

Read article
ARTICLE · 10

Java Executor Framework Architecture

How Executor + ThreadPoolExecutor decouple task submission from execution, with the queue mechanics.

Read article
ARTICLE · 11

Fork/Join Pool Architecture

The specialized executor behind parallel streams and RecursiveTask.

Read article
ARTICLE · 12

Goroutines at Scale

What breaks at 100K and what to do about it.

Read article
ARTICLE · 13

Green Threads

Goroutines Erlang virtual threads converging.

Read article
ARTICLE · 14

Java Memory Model Explained

happens-before volatile and why your unsynchronized code is wrong.

Read article
ARTICLE · 15

Java Virtual Threads in Production

Project Loom what changes and what stays the same.

Read article
ARTICLE · 16

Java Virtual Threads Pitfalls

Project Loom is great. Watch these footguns.

Read article
ARTICLE · 17

Lock Contention Diagnosis

Tools and patterns for finding the bottleneck.

Read article
ARTICLE · 18

Lock-Free Data Structures Architecture

Compare-and-swap based concurrent structures, with the ABA problem + retry loop pattern.

Read article
ARTICLE · 19

Lock-Free Data Structures

Compare-and-swap atomic ops and the ABA problem.

Read article
ARTICLE · 20

Memory Model Basics

Happens-before visibility and reordering.

Read article
ARTICLE · 21

Producer/Consumer Architecture with BlockingQueue

The canonical async decoupling pattern with the memory + backpressure model.

Read article
ARTICLE · 22

Reactive Streams Backpressure Architecture

How reactive streams (Project Reactor, RxJava) propagate demand upstream.

Read article
ARTICLE · 23

Rust Async Runtime Picture

Tokio async-std smol — when each fits.

Read article
ARTICLE · 24

ThreadLocal vs ScopedValue Architecture

How to carry request-scoped data across threads, and why ScopedValue is better in the virtual-threads era.

Read article
ARTICLE · 25

Virtual Threads vs Platform Threads

How virtual threads free the JVM from OS-thread constraints, with the underlying mount/unmount mechanics.

Read article
ARTICLE · 26

Work Stealing Explained

Fork/join Tokio scheduler and the algorithm.

Read article
ARTICLE · 27

Work-Stealing Scheduler Architecture

The scheduler pattern behind Fork/Join, Go's runtime, and Rust's Tokio.

Read article