Architecture Weekly #167 - 19th February 2024
Welcome to the new week! The essence of modelling in Event Sourcing is keeping streams short. Thanks to that, our streams don’t grow infinitely, and we can run our system efficiently, benefiting from the loosely coupled capabilities. One of the biggest enablers for that is the Closing the Books pattern. The term is taken from accounting. There instead of keeping a whole log of our finances, we’re breaking it into periods, e.g. accounting month. In Event Sourcing, we can do the same, marking the lifetime of our stream by the start and end events (e.g. AccountingMonthOpened and AccountingMonthClosed) This time I wrote how to implement this pattern in practice using Marten as a tooling example: I believe that this should take you far enough and, together with my other works, help you join both Event Sourcing modelling techniques and use them in practice in your projects. I’d like to invite you to the upcoming webinar with a special guest, Andrea Magnorsky: Introducing Bytesize Architecture Sessions! If your team suffers from inconsistent views of your systems or is producing incohesive solutions, this may be a good choice to spend next Monday (February 26th, at 6 PM CET (UTC+1). Bytesize Sessions is a workshop format that enables collaborative and iterative knowledge sharing. I’m thrilled that Andrea agreed to share her experience and her method to facilitate better architecture discussions with us. I saw multiple recommendations about it; now we’ll get the chance to see that live and have a Q&A. See more on the webinar page to join us live! Understanding the system use cases is critical for the proper system design, but what’s actually a use case? Some time ago, I linked the video where Ivar Jacobson and Alistair Cockburn, pioneers of Agile and Software, joined forces to discuss what are actually use cases. As an appendix to that, they joined forces to write their conclusion about this bloated system. They started it with a phrase:
I’m not sure if they managed to clarify all the misconceptions around it, but at least they tried; check more: The other aspect of good design is defining and analysing the pros and cons of solutions. And here’s the deal: reality is not always so black and white. Michael Nygard (the inventor of Architecture Decision Record) wrote:
And I can only second that; read more in his article on how to avoid that trap: Check also a nice article from Gergely Orosz on the importance of the critical thinking: Moving on from the general discussion to something more real:
This is the quote from an article written by the vjeux, the author of Excalidraw, where he explains how the tool is dealing with the end-to-end encryption of the user input data. This is essential for the privacy-first tooling and non-trivial architecture concept. Read more in: See also an interesting article from Mateusz Jendza, where he describes his approach of keeping authentication passwordless: And if you missed it, check the webinar he gave for our community: Speaking about End-to-End, it sounds like NVidia wants to provide such a solution for AI. They don’t want to just benefit from the AI trend by selling the chips, but they also want to deliver AI solutions so as not to be dependent on the software vendors. That’s an interesting to observe. Will we get back to the old trend where we have processors built for specific solutions instead of general ones? Check also a discussion between Eric Evans, and Dave Farley on how AI may change our industry: Ending with a past and future. I’m not into stuff like Metaverse, but I respect a lot of methodic approaches and doing homework before releasing something. Read an interesting essay from Matthew Ball. Great, thorough write-up: The other article on the unusual topic is: In emerging gamification, making everything interactive, especially through chatbots and AI-based integration, we should not forget about the humane aspect of our systems. Check also other links! Cheers Oskar 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 the Ukraine humanitarian organisation, Ambulances for Ukraine or Red Cross. Architecture
DevOpsDatabasesAIAWSAzureJava.NET
Node.jsWindowsCoding LifeManagement
IndustrySecurityTriviaYou're currently a free subscriber to Architecture Weekly. For the full experience, upgrade your subscription. |
Older messages
Architecture Weekly #166 - 12th February 2024
Monday, February 12, 2024
We started with the announcement about Emmett - my new library and smoothly transitioned into the discussion on data governance. Firstly, in event-driven systems, data sovereignty is an issue of
Architecture Weekly #165 - 5th February 2024
Monday, February 5, 2024
We started with the DevOps and Platform approach pitfalls, discussing Charity Majors's take and adding Conway's law into that. Then we reviewed the strategies for architecting multi-region
Architecture Weekly #164 - 29th January 2024
Monday, January 29, 2024
MVP, RAT, MVA and other minimum viability approaches
Webinar #16 - Simple patterns for events schema versioning
Friday, January 26, 2024
Watch now | Events schema versioning, or in other words, events evolution, is one of the first questions I get when explaining Event Sourcing. The topic may look scary, as how to evolve data that, by
Architecture Weekly #163 - 22nd January 2024
Monday, January 22, 2024
Today, we discussed the evolution. Not humankind but our data models and architecture. We found actionable guidance on how DDD techniques can help with that. We had a look at the Slack migration to
You Might Also Like
Daily Coding Problem: Problem #1650 [Hard]
Friday, December 27, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Recall that the minimum spanning tree is the subset of edges of a tree that
🧠 3 Ways Quantum Computing Will Change Our World — How to Transfer Data to Your New iPhone
Friday, December 27, 2024
Also: Great Spotify Features That Apple Music Has Too, and More! How-To Geek Logo December 27, 2024 Did You Know 2004 was the last year that hidden (or "pop-up") headlamps appeared on a mass-
Charted | How U.S. Household Incomes Have Changed (1967-2023) 💰
Friday, December 27, 2024
When looking at inflation adjusted data, US households have definitely gotten a whole lot richer since 1967. View Online | Subscribe | Download Our App FEATURED STORY How US Household Incomes Have
Can Pirates Save Democracy?
Friday, December 27, 2024
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 27, 2024? The
The 2025 Predictions You Can't Afford to Miss 🔮
Friday, December 27, 2024
Get a head start on what's to come in the New Year. Join VC+ to gain access to our 2025 Global Forecast Series and other exclusive insights! View email in browser HOW LEADERS STAY AHEAD IN 2025 The
DeveloPassion's Newsletter #182 - 2024 Retrospective
Friday, December 27, 2024
A newsletter discussing Knowledge Management, Knowledge Work, Zen Productivity, Personal Organization, and more! Sébastien Dubois DeveloPassion's Newsletter DeveloPassion's Newsletter #182 -
End 2024 on a High Note: The Top Writing Tips and Templates You Need
Friday, December 27, 2024
What's good, @newsletterest1! As we welcome 2025, let's take a moment to celebrate the incredible stories that fueled our hacker minds in 2024! We've compiled a roundup of the most-used
Private AI data + AI in Hollywood
Friday, December 27, 2024
my 2024 favorites ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
🐧 The best Linux distro of 2024
Friday, December 27, 2024
Extension cord don'ts; AI's biggest challenge; Wired network hack -- ZDNET ZDNET Tech Today - US December 27, 2024 The default elementary OS 8 desktop. The best Linux distribution of 2024 is
Issue #573: Ray browser, focus shift, and Nimrods
Friday, December 27, 2024
View this email in your browser Issue #573 - December 27th 2024 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to