Concurrency terms
Doing many things at once — safely, correctly, efficiently
Writing code that does multiple things at once — correctly — is one of the hardest problems in software engineering. This category covers threads, processes, async/await, event loops, locks, race conditions, deadlocks, and the concurrency models used in modern languages and runtimes. Getting concurrency wrong is subtle; these terms help you get it right.
Actor Model
The Actor Model treats everything as an actor — isolated units that communicate only by message passing, never sharing state — eliminating race conditions by design.
2mo ago
concurrency advanced
Atomic Operations
An atomic operation completes entirely or not at all — no intermediate state is visible to other threads. Atomic ops are the building blocks of lock-free concurrency.
2mo ago
concurrency intermediate
Atomic Operations
Atomic operations complete indivisibly — no other thread can observe an intermediate state. The foundation for lock-free concurrency and database counters.
2mo ago
concurrency intermediate
Async enables concurrency within a single thread by interleaving tasks during I/O waits; parallel execution uses multiple threads/processes for true simultaneous CPU execution.
2mo ago
concurrency intermediate