Rails Event Store is a library for publishing, consuming, storing and retrieving events. It's your best companion for going with an event-driven architecture for your Rails application.

It can help you

  • Introduce Publish-Subscribe bus
  • Decouple core business logic from external concerns in Hexagonal style architectures
  • Replace ActiveRecord callbacks and Observers
  • Introduce communication layer between loosely coupled components
  • React to published events synchronously or asynchronously
  • Extract side-effects (notifications, metrics etc) from your controllers and services into event handlers
  • Build an audit-log
  • Create read models
  • Implement event-sourcing

Trusted by