Event-Sourcing: The Redux of the Backend
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.