Architecture

CQRS

A pattern that separates commands (changing data) from queries (reading data), with different models for each side.

Example

A store writes orders to 1 database and shows them from 10 read replicas with prebuilt views.

Test yourself: CQRS

CQRS

What does CQRS separate?

Lessons that use it

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