DEV Community

Alfredo Motta
Alfredo Motta

Posted on

6 1

An Introduction to Event Sourcing for Rubyists

Video here: https://skillsmatter.com/skillscasts/11903-an-introduction-to-event-sourcing

Slides here: https://speakerdeck.com/mottalrd/an-introduction-to-event-sourcing-for-rubyists

Code here: https://gist.github.com/mottalrd/52a99a0a67275013df5a66281a4a1b11

Event sourcing is a design pattern to build applications that are domain centric and easy to extend. The pattern is based on the usage of a persistent event log which substitutes the more classical relational database model for Rails applications.

Last week I gave this presentation at the London Ruby User Group. You can find the details of what I learned over the last year using such pattern, hope you enjoy it!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (1)

Collapse
 
israelb profile image
israel

Is necessary Event sourcing in every microservice? or it depends on me?

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay