The vocabulary of the job, one term at a time — what it means, and when you would say it.
Concurrency · intermediate
A bug whose outcome depends on the order two concurrent operations happen to interleave.
Meaning
A bug whose outcome depends on the order two concurrent operations happen to interleave.
The defining feature is that the code is correct in every sequential reading and wrong in some concurrent one, which is why race conditions survive code review and fail in production. Read-modify-write is the classic shape: two requests read the same balance, both subtract, and one subtraction is lost. Fixes make the sequence atomic — a database transaction, a compare-and-swap, a lock, or a single-writer design.
Two requests both read `likes = 10`, both write `11`, and one like disappears.
No published skills are linked yet.
Work through the glossary one card at a time, in a different order every run.
Open the discover feed