General

Race condition

A bug that happens when 2 processes touch the same data at once and one overwrites the other's work.

Example

2 requests read 99, both store 100, and 2 got in with room for 1.

Test yourself: Race condition

Rate limiting

Reading the counter, adding 1 and storing it is the naive «get then ___» approach.

Lessons that use it

More general terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.