Skip to content

projectin progress

CQRS & Event Sourcing

Hands-on microservices project for going deeper on CQRS, event sourcing and the mediator pattern, on Kubernetes with KEDA autoscaling and scale to zero.

A project for going deeper on patterns I’ve used on client work: separating reads from writes with CQRS, storing state as a stream of events, and running it all as independently deployable microservices.

It’s still being built. What it’s working towards:

  • CQRS: commands and queries handled separately through a mediator, with their own write and read models.
  • Event sourcing: events as the source of truth, with read models built by replaying them.
  • Microservices: services that talk through a message broker instead of calling each other directly.
  • Autoscaling on Kubernetes: KEDA scaling each service on its workload, including scaling idle services to zero.