Databases

Three-phase commit (3PC)

Like 2PC but with a pre-commit phase in the middle and time limits, so it doesn't block.

Example

If the message doesn't arrive within 5 seconds, the node aborts instead of waiting forever.

Test yourself: Three-phase commit (3PC)

Distributed transactions

What does 3PC add to 2PC?

Lessons that use it

More databases 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.