Concurrency
Several things happening at once on shared data, and the tools that keep them from stepping on each other.
0 of 5 lessons complete0%
Race Conditions
Two clicks, and one like goes missing. Every line is correct; the gap between reading and writing is the bug.
Not started.Beginner8 minMutex, Semaphore, Channel
Six primitives, sorted by how many threads may pass at once, and which one to reach for.
Not started.Intermediate10 minDo More Threads Make It Faster?
The same job on 1, 2, 4, 8 and 16 threads with a shared lock in the middle. Past the number of cores the gains stop, then reverse.
Not started.Intermediate8 minThe Event Loop
One thread, thousands of things in progress. How JavaScript decides what runs next, and why a promise beats a zero-delay timer.
Not started.Intermediate9 minThread Pools
A thread per task works until there are ten thousand tasks. A fixed team of workers and a queue does the same job with a fraction of the cost.
Not started.Intermediate8 min