social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.8K
active users

#eventsourcing

4 posts4 participants0 posts today

After about 20 years of programming like those around me, the way I write my applications has drastically changed in the last 12 months.

With so much change, I wanted things to settle and then share. So, here I go.

I have embraced #eventSourcing, and I want to show you why.

everydaysuperpowers.dev/articl

everydaysuperpowers.devWhy I Finally Embraced Event Sourcing—And Why You Should Too

One of the benefits of #EventSourcing that continues to come up is the ability to answer questions that you didn't originally have when creating a system.

With a state-overwrite system (aka non-event-sourced), you lose the trail of changes unless you explicitly build it in.

Playing with error handling and retry strategies for eventually-consistent #eventsourcing workflows in #ruby. In the example, buggy projector retries processing an event with exponential back-off, until it gives up and stops the entire consumer group.

#EventSourcing was portrayed as hard, complicated, and impractical. The reality is actually opposite, and that's what I wanted to show in this recording.

You'll find a hands-on guide showing Event Sourcing in practice. You'll learn step by step:

-What’s Event Sourcing,

-How to model and tell the story about your business process using events,

-How to reflect that in the code, so modelling events, command, business logic,

-How to test Event Sourcing business logic with Behaviour-Driven Design,

-Joining that into REST WebApi,

-using PostgreSQL based storage,

-build read models.

I showed that using Node.js, TypeScript and Emmett as I believe this can make it even smoother!

What's Emmett? Emmett is a framework that will take your applications back to the future.

The idea behind Emmett was to make it easier to create business-focused applications and cut unnecessary code without using magic. The combination of using events and their business focus, the expressiveness of TypeScript and the lightness of Node.js is supposed to help with that.

All of that is in a 1.5-hour webinar. So fasten your seat belts, watch the recording and tell me what you think.

architecture-weekly.com/p/prac

No paywall this time!