VX Company
Published in

VX Company

CQRS in a nutshell

CQRS is an abbreviation for Command and Query Responsibility Segregation. It means every single endpoint of an application either executes a command or retrieves data. Never both.

Many people refer to Greg Young when they talk about CQRS. He published this pdf which describes the concepts in depth. Greg Young points out that CQRS originated with Bertrand Meyer’s Command and Query Separation Principle and he summarises it as follows:

“Basically it boils down to: If you have a return value you cannot mutate state. If you mutate state your return type must be void.” — Greg…




Never stop learning. That is our goal. At VX Company we firmly believe people never stop learning. That’s why we focus on not only improving your less strong qualities, but mainly about further developing and improving your (natural) talents.

Recommended from Medium

Benchmarking Microservices on Kubernetes

Tutorial Fuzzy Logic Mamdani for Arduino

Tutorial Fuzzy Logic Mamdani for Arduino

Spark Convert Parquet file to Avro — Spark by {Examples}

Baptism in Ruby 💎 via Gitlab and Sensu.

What happens when you type ls -l in the Shell

What is Parallel Computing?

Our Investment in Chronosphere

Browser Automation with Python and Selenium — 1: Installation

small toys and lego like building blocks

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Albert Starreveld

Albert Starreveld

software developer / consultant @ vxcompany.com

More from Medium

EF Core: Effectively decouple the data and domain model

Simple GitHub actions reusable workflow using .NET 6

Health check aggregator UI in microservice architecture

Explaining Clean Architecture In .Net Core (Breakdown & Example)