Materializing State

Building Event-Driven Microservices - Chapter 7 - Stateful-Streaming

Building Event-Driven Microservices - Chapter 7 - Stateful-Streaming

Translations: RU

Event-Driven Microservices need to materialize states. And it comes with the important things to think about. Two approaches to choose from:

  • Internal state store
  • or External state store

Both have pros and cons. Both have important scalability and recovery considerations.

Two approaches for changing data structures:

  • Bebuilding
  • and Migration

Transactions and how to emulate them in order to implement Effectively Once processing.

All of these is disclosed in the Chapter 7 of the book we are currently studying:

Building Event-Driven Microservices - Chapter 2 - Event Driven Microservice Fundamentals

Building Event-Driven Microservices - Chapter 2 - Event Driven Microservice Fundamentals

Translations: RU

Introduction into Event-driven microservice (EDM) architecture consists of the following topics:

  • two topologies
  • content of events
  • three types of events
  • table-stream duality
  • schemas for defining event data
  • single writer principle
  • features of event broker
  • event broker vs message broker
  • single source of truth principle
  • scaling using containers and VMs
  • microservice taxes that we should pay

These topics are disclosed in the Chapter 2 of the book we are currently studying: