Tag: Concurrency

Work-Stealing Schedulers for Parallel Tasks

Understand how per-worker deques, selective stealing, task granularity, and runtime telemetry turn irregular parallel work into balanced execution.

2026-05-18 · 14 min read

Testing Concurrent Code Deterministically

Turn thread schedules into replayable test inputs with controlled execution, model exploration, invariant checks, race detection, and seeded stress.

2026-05-06 · 13 min read

Deadlock, Livelock, and Starvation

Diagnose and prevent progress failures with wait-for graphs, lock ordering, fairness policies, recovery rules, and deterministic tests.

2026-04-24 · 13 min read

Thread Pools and Bounded Executors

Design bounded executors as explicit contracts for admission, queueing, fairness, failure, and shutdown.

2026-04-12 · 14 min read

Backpressure: Flow Control in Async Systems

Design bounded async pipelines with demand signals, watermarks, overload policies, and metrics that keep slow consumers from becoming outages.

2026-03-10 · 15 min read

The Actor Model for Concurrent Systems

Build concurrent systems with isolated state, asynchronous mailboxes, supervision, backpressure, recovery, and explicit failure semantics.

2025-12-31 · 11 min read

Locks, Mutexes, and Lock-Free Data Structures

Learn when mutexes, atomic ordering, and lock-free structures provide correctness, progress, and practical performance under contention.

2025-06-06 · 11 min read