events

Aka event sourcing; it's about message queues and getting stuff from A to B without dropping any.

Layout

A typical event sourcing architecture looks like this:

           Writer app                         Reader app
  ┌───────────────────────────┐      ┌───────────────────────────┐
  │Application with interface │      │Application with interface │
  └─────────────┬─────────────┘      └───────────────────────────┘
                ▼                                  ▲
  ┌───────────────────────────┐                    │
  │        Event queue        │                    │
  └─────────────┬─────────────┘                    │
                ▼                                  │
  ┌───────────────────────────┐      ┌───────────────────────────┐
  │        Event store        │      │     Application state     │
  └───────────────────────────┘      └───────────────────────────┘
                │                                  ▲
                │                                  │
                │       ┌───────────────────────────┐
                └──────▶│       Event handler       │
                        └───────────────────────────┘

See Also

results matching ""

    No results matching ""