Architecture Weekly #89 - 22nd August 2022
Welcome to the new week! I just published all of our Architecture Weekly webinars. #1 - From CRUD to Event Sourcing In the first one, I showed journey from CRUD to Event Sourcing. I explained the strategies and showed practical examples using TypeScript and NodeJS applications. Of course, the focus was on explanation, not technical details, so even if you’re not much into those technologies, you should understand how to do it in your favourite one. #2 - Keep your streams short! Or how to model Event-Sourced systems efficiently In the second one, I showed why keeping streams short is essential in Event Sourcing. I explained how to find and model entities’ lifetime and reflect that in streams. By watching it, you’ll learn the foundations of stream modelling, also why snapshots are (in general) bad practice and why you should think about events archiving strategy. #3 - Implementing Distributed Processes The third one was a collaborative approach. We started by modelling the big picture of the hotel guests’ group checkout process. We discussed the challenges and different strategies and went to see the nuances of the implementation. It was the longest webinar so far (1:40h), giving a decent understanding and foundations to implement it in your system. In the next one, we want to follow that approach and crunch again new topic chosen by the community. We’re thinking about the next modelling session or even mob programming. If you are paid subscriber, you can watch them now; if not, you can check a sneak peek and make up your mind and sign in. Besides webinars, we have a vibrant Discord channel with decent architecture discussions. That’s not all of the material to watch from me this week. Accidentally last Wednesday became Marten’s International Day. I did the talk Pragmatic Event Sourcing in .NET With Marten at the JetBrains Youtube. In a nutshell, I aimed to show Event Sourcing to prove that it’s not as hard as it’s pictured. I showed how to cut the boilerplate and the number of layers to a bare minimum. Did I succeed? Check on your own! Jeremy talked at the .NET DC user group, showing Event Sourcing and CQRS with Marten. I like that even though our topics were similar things, but looked at them from different angles. Jeremy also showed how Jasper integrates with Marten neatly, giving you the effortless CQRS. I think that watching them both should give you a good understanding of Marten and how you can benefit from using it in your application. In general, that’s also 3 hours of free Event Sourcing and CQRS training. For free is a reasonable price, isn’t it? We love to keep our code but love to throw away someone else. Sometimes that's far; quite often subconscious. Primarily working in legacy software, going straight to refactoring may not be the best you should do. I wrote in my last article on the keep vs change decision, explaining the connection with the British writer from the previous century. Read more in: What do the British writer and his fence have to do with Software Architecture?. Making an architectural decision is always challenging; making them about the product is even harder. I saw in my past projects where wrong priorities or not checking the assumptions with the client ended up with collapse. Architecture choices should not be made in a vacuum; they should reflect the product’s needs. Even the best implementation with wrong business assumptions will be just great but useless code. Read more on how to shape your system responsibilities right in: Plus, what may happen if you follow too much of the buzz with your decisions: You can inspire by others’ decisions by, for instance, checking what giants are choosing and why: Still, you should think for yourself and question authorities. Especially self-proclaimed ones: As men in this industry, we have a long way to make it a safe, accessible place for women as it was initially. Not being a jerk is not enough to change the current state. And Now for Something Completely Different. I’m extremely intrigued by the idea of running WebAssembly on the server. Its higher and more thought security sandbox concept can be a good alternative for classical containers. It also allows you to write in your favourite language, which will be compiled to unified runtime. What’s an example of that? For instance, messages (e.g. events), pipelines or transformations. I’m thinking about writing a lightweight outbox pattern tool that would give users options to plug their transformation functions. Many other people do even crazier stuff. Postgres run on web assembly? Sure! Containers on a web page? Not an issue! See more: Check also other links! Cheers p.s. I invite you to join the paid version of Architecture Weekly. It already contains the exclusive Discord channel for subscribers (and my GitHub sponsors), monthly webinars, etc. It is a vibrant space for knowledge sharing. Don’t wait to be a part of it! p.s.2. Ukraine is still under brutal Russian invasion. A lot of Ukrainian people are hurt, without shelter and need help. You can help in various ways, for instance, directly helping refugees, spreading awareness, and putting pressure on your local government or companies. You can also support Ukraine by donating, e.g. to Red Cross, the Ukraine humanitarian organisation. You may also consider joining Tech for Ukraine initiative. Architecture
Distributed SystemsDevOpsDatabasesFrontendTestingHardwareAzureClojureJavaScript.NETRustScalaCoding LifeSecurityTriviaYou’re a free subscriber to Architecture Weekly. For the full experience, become a paid subscriber. |
Older messages
Webinar #3 - Implementing Distributed Processes
Monday, August 22, 2022
Watch now (100 min) | Distributed processes with an event-driven approach embrace the impossibility of the two-phase commit in distributed transactions. Instead of trying to make a big transaction
Architecture Weekly #88 - 15th August 2022
Monday, August 15, 2022
Architecture Weekly - links and resources to boost your knowledge and developer skills!
Architecture Weekly #87 - 8th August 2022
Monday, August 8, 2022
Architecture Weekly - links and resources to boost your knowledge and developer skills!
Architecture Weekly #86 - 1st August 2022
Monday, August 1, 2022
Architecture Weekly - links and resources to boost your knowledge and developer skills!
Architecture Weekly #85 - 25th July 2022
Monday, July 25, 2022
Architecture Weekly - links and resources to boost your knowledge and developer skills!
You Might Also Like
Weekend Reading — More time to write
Sunday, November 24, 2024
More Time to Write A fully functional clock that ticks backwards, giving you more time to write. Tech Stuff Martijn Faassen (FWIW I don't know how to use any debugger other than console.log) People
🕹️ Retro Consoles Worth Collecting While You Still Can — Is Last Year's Flagship Phone Worth Your Money?
Saturday, November 23, 2024
Also: Best Outdoor Smart Plugs, and More! How-To Geek Logo November 23, 2024 Did You Know After the "flair" that servers wore—buttons and other adornments—was made the butt of a joke in the
JSK Daily for Nov 23, 2024
Saturday, November 23, 2024
JSK Daily for Nov 23, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component
Not Ready For The Camera 📸
Saturday, November 23, 2024
What (and who) video-based social media leaves out. Here's a version for your browser. Hunting for the end of the long tail • November 23, 2024 Not Ready For The Camera Why hasn't video
Daily Coding Problem: Problem #1617 [Easy]
Saturday, November 23, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. You are given an string representing the initial conditions of some dominoes.
Ranked | The Tallest and Shortest Countries, by Average Height 📏
Saturday, November 23, 2024
These two maps compare the world's tallest countries, and the world's shortest countries, by average height. View Online | Subscribe | Download Our App TIME IS RUNNING OUT There's just 3
⚙️ Your own Personal AI Agent, for Everything
Saturday, November 23, 2024
November 23, 2024 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Convergence. Imagine if you had a digital
Educational Byte: Are Privacy Coins Like Monero and Zcash Legal?
Saturday, November 23, 2024
Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 23, 2024? The HackerNoon
🐍 New Python tutorials on Real Python
Saturday, November 23, 2024
Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Black Friday Giveaway @ Real Python This Black
Re: Hackers may have stolen everyone's SSN!
Saturday, November 23, 2024
I wanted to make sure you saw Incogni's Black Friday deal, which is exclusively available for iPhone Life readers. Use coupon code IPHONELIFE to save 58%. Here's why we recommend Incogni for