← Graph

Applying CQRS & Event Sourcing on Rails applications

talk 35 connections

Andrzej Śliwa's wroclove.rb 2018 talk presenting a round-trip tour of applying CQRS and event sourcing on Rails. Covers EventStorming with domain experts, bounded contexts, command forms backed by dry-struct, aggregates and aggregate roots (including nested aggregates and policy/strategy extraction), sagas and process managers, events with versioning and upcasting, event handlers/denormalizers building read models, error-handling strategies, Ruby 'interfaces' via module wrappers, configuration to survive Rails reload, and lessons about learning event sourcing via mind maps.

type
talk
talk Applying CQRS & Event Sourcing on Rails applications
about
Event Sourcing concept
Core subject of the talk.
talk Applying CQRS & Event Sourcing on Rails applications
about
CQRS concept
Core subject of the talk.
talk Applying CQRS & Event Sourcing on Rails applications
about
Positions CQRS/ES work within DDD.
talk Applying CQRS & Event Sourcing on Rails applications
about
EventStorming concept
Opens with EventStorming as the cornerstone of collaborative DDD.
talk Applying CQRS & Event Sourcing on Rails applications
about
Bounded Context concept
Defines bounded context as the border for unique meaning (e.g., B2B vs B2C customers).
talk Applying CQRS & Event Sourcing on Rails applications
about
Aggregate Root concept
Large portion discusses aggregate roots in event sourcing including command vs event-callback methods.
talk Applying CQRS & Event Sourcing on Rails applications
about
Implements sagas as aggregate-root-like objects with their own events.
talk Applying CQRS & Event Sourcing on Rails applications
about
Command Form concept
Details the command form pattern built on dry-struct.
talk Applying CQRS & Event Sourcing on Rails applications
about
Covers event handlers/denormalizers projecting into read models and queries.
talk Applying CQRS & Event Sourcing on Rails applications
about
Explains versioning events, upcasting callbacks, and event-class name mapping.
talk Applying CQRS & Event Sourcing on Rails applications
about
Discusses experimental nested aggregates and why the speaker is dissatisfied.
talk Applying CQRS & Event Sourcing on Rails applications
about
Recommends extracting logic into policies/strategies over nesting aggregates.
talk Applying CQRS & Event Sourcing on Rails applications
about
Presents a module-based interface wrapper to scope aggregate public contracts.
talk Applying CQRS & Event Sourcing on Rails applications
about
Describes configurable error handling for event subscribers.
talk Applying CQRS & Event Sourcing on Rails applications
about
Shares the personal mind map used to learn event sourcing.
talk Applying CQRS & Event Sourcing on Rails applications
about
Entire architecture is built on top of rails_event_store.
talk Applying CQRS & Event Sourcing on Rails applications
about
dry-types tool
Used to define domain types and value objects.
talk Applying CQRS & Event Sourcing on Rails applications
about
dry-struct tool
Used for commands and events with schema/strict modes.
talk Applying CQRS & Event Sourcing on Rails applications
about
Previously used for validations; team is moving away from it.
talk Applying CQRS & Event Sourcing on Rails applications
about
Used for contracts and pattern matching in infrastructure code.
talk Applying CQRS & Event Sourcing on Rails applications
about
Mentioned as the whiteboard used for remote EventStorming.
talk Applying CQRS & Event Sourcing on Rails applications
about
Covers configuration needed so Rails reload! doesn't duplicate subscriptions.
talk Applying CQRS & Event Sourcing on Rails applications
about
Recommends Brandolini's book for learning EventStorming.
talk Applying CQRS & Event Sourcing on Rails applications
about
Mentioned as a DDD reference book to read.
asked_at
Applying CQRS & Event Sourcing on Rails applications talk
Asked during Q&A of this talk.
asked_at
Applying CQRS & Event Sourcing on Rails applications talk
Asked during Q&A of this talk.
asked_at
Applying CQRS & Event Sourcing on Rails applications talk
Asked during Q&A of this talk.
authored
Applying CQRS & Event Sourcing on Rails applications talk
Speaker and author of the talk.
from_talk
Applying CQRS & Event Sourcing on Rails applications talk
Takeaway drawn from the talk's opening section on EventStorming.
from_talk
Applying CQRS & Event Sourcing on Rails applications talk
Speaker recommends this after discussing nested aggregates.
from_talk
Applying CQRS & Event Sourcing on Rails applications talk
Design decision shared during the command-form section.
from_talk
Applying CQRS & Event Sourcing on Rails applications talk
Warning raised in the event versioning section.
from_talk
Applying CQRS & Event Sourcing on Rails applications talk
Drawn from Q&A about boilerplate and onboarding.
from_talk
Applying CQRS & Event Sourcing on Rails applications talk
From Q&A answer about convincing product managers.
talk Applying CQRS & Event Sourcing on Rails applications
presented_at
Talk delivered at wroclove.rb 2018.

Provenance

Created
2026-04-17 16:17 seed
Read by
28 extractions