Skip to content

Details

Folks who are new to event sourcing frequently raise the concern that projecting a stream of events every time we need the current state of an entity wastes a lot of processing. How can we have performant systems if they redo projections every time they handle a message?

We'll approach this from two angles.

First, how many events are we typically projecting in an event stream?

Second, if we do have a properly-designed stream with heaps and heaps of events, what countermeasures do we have access to?

Spoiler alert: the second answer will focus heavily on snapshotting, that is saving a projected entity and projecting new events on top of that saved entity rather than starting from the beginning.

We'll go through an example of how users of Eventide can introduce snapshotting to their projects as well.

======

We'll be at the LiveView Technologies office in Lindon again. Most of our in-person attendees live closer to that location. If we got more attending from the Salt Lake area, we'll resume switching between the locations.

Join us via Zoom: https://aumni-fund.zoom.us/j/89655917014?pwd=T01lSFRqUUNHenUrbkdySWx3clJPQT09

To use Zoom, we require that your RSVP to this event and that your Zoom name match your Meetup.com name so that we can filter out the sorts of knaves and scoundrels that would disrupt the meeting.

Related topics

Events in Lindon, UT
Microservices
Software Architecture
Ruby
Computer Programming

You may also like