General

Distributed lock

A lock shared across several machines so only 1 process uses a piece of data at a time.

Example

With a lock on the counter, out of 1,000 requests only 1 touches it at a time.

Test yourself: Distributed lock

Rate limiting

What avoids the race condition without slowing everyone down?

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.