2023 - Chris Suszynski - You need Event Mesh, not Service Mesh

youtube.com 4 miesięcy temu


You’ve probably heard about building microservices-style applications, right? It’s likely that you’ve heard that a service mesh (such as Istio) can help you achieve this. Unfortunately, in most cases that’s an antipattern. Instead, what you need is the Event Mesh. Using the Event Mesh could help you architect your application into a distributed CQRS-style solution that would eventually reconcile system state.

In this session, you’ll learn why you should avoid using blocking API calls when building your microservices, and instead use the CQRS architecture to separate commands and queries. Your architecture for commands should be implemented with asynchronous events, which are processed whenever possible. We’ll take some inspiration from the Kubernetes architecture, and how you can model such a reconciliation loop within your own enterprise microservices. All this on top of the Knative framework, as an excellent example of event mesh implementation.