Zack DeRose

Camp Counselor

Event-Sourcing: The Redux of the Backend

Event Logo

Tuesday, July 25, 2023 - 9:00 PM UTC, for 1 hour.

Regular, 60 minute presentation

Room: G

fullstack
event-sourcing
typescript
reducer
push-based architecture

Have you ever been debugging a backend issue and found yourself thinking: "If only I had Redux Devtools to figure out what's going on..."? I have. It almost seems ironic that we have such robust tooling available to us in the "front-end world", while at least in my experience the backend side of things (where the stakes would seem to be much higher!) the tooling seems to be severely lacking. So I set out on a journey to understand how the backend world deals with these problems, and I uncovered: the "Event Sourcing" pattern. In this talk, we'll go over the mechanics of implementing an Event-Sourcing pattern. We'll follow this up with a full-stack example application that uses reducer functions alongside Supabase and Postgres. We'll also discuss potential advantages of this approach in a full-stack environment, and potential future tooling that we could build up around these concepts.

Prerequisites

Development background will be helpful, especially around what Redux is. I'll be sure to give a comprehensive explanation for folks that may not be familiar though.

Take Aways

  • Event Sourcing is an interesting pattern that is Hard to learn, but can be made to be a great Simple architecture approach.
favorited by:
Brett Christiansen Dan Willman Allan Wick Jason Von Ruden Jerad Burley Zack DeRose Geoff Rich Brian Meeker Ron Dagdag Vagmi Mudumbai Brian Hendricks Troy Landers Sushil Choudhary Eric Hamacher Brittney Braxton Jacob Galloway Dave Smith Jon Meer Kevin Ziegler Craigory Coppola Hannah Reuss