CQRS · Event Sourcing · Generative AI · Software Architecture

Use Generative AI with Commands and Events (ES-AI)

this article is currently a work in progress. In this post I’m going to discuss the use of Artificial Intelligence (AI) combined with messaging patterns like Event Sourcing and CQRS. AI components can play different roles in different scenarios like pattern recognition, business insights, future predictions and more. Currently I’m more interested in building an… Continue reading Use Generative AI with Commands and Events (ES-AI)

CQRS · Domain Driven Design

Asynchronous APIs and CloudEvents in messaging architectures

Table of contents Prologue Asynchronous Api CloudEvent Specification: a common format for messages Commands/Events and Horizontal scaling with Competing Consumers pattern Failure Tolerance CQRS and how to handle the reads synchronously Prologue In this article I will discuss an architectural approach I usually follow when I design Apis and distributed messaging architectures. The architecture is… Continue reading Asynchronous APIs and CloudEvents in messaging architectures

CQRS · Domain Driven Design · Event Sourcing · Software Architecture

Distributed Architecture: 3 Steps

Here is my view implementing business requirements with DDD, Event Sourcing and CQRS. Ingestion Processing CQRS and Data Distribution Applying the same 3 steps for each new requirements let improves time after time the mechanics of each small bubble while it is living in the aquarium of an Event Driven ecosystem along with bigger legacy… Continue reading Distributed Architecture: 3 Steps

CQRS · Domain Driven Design · Software Architecture

Distributed Architecture 03: CQRS and Data Distribution

In our journey we started with a business requirement, we model the requirement with commands, events, we ingest input data, we process the data, we implemented processing components using Event Sourcing pattern and we stored our Domain Events in small streams. All this represent the way to define and feed our write model. The benefit… Continue reading Distributed Architecture 03: CQRS and Data Distribution