Rebuilding Event-Driven Read Models in a safe and resilient way
event-driven.io·5d·
Discuss: r/programming
Reactive Programming
Preview
Report Post

Let’s make a soup today: a blog soup. We’ll mix multiple ingredients like:

  • events (obviously),
  • read models,
  • inline and async projections,
  • rebuilding read models,
  • backfilling new ones with data from existing events,
  • scaling async processing horizontally,
  • distributed locking,
  • PostgreSQL and its Advisory Locks.

Sounds a lot? Well, the soup should be nutritious.

In an event-driven way, after handling business logic, we record new facts and call them events. They gather information about what has happened. That brings many benefits, such as business observability by keeping a log of them. Especially if we’re doing Event Sourcing, we can make the next decision based on them.

Typically, we’re using events in two ways:

  • reacting to them, triggering and integrating th…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help