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
Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator
Friday, February 14, 2025
What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Defining Your Paranoia Level: Navigating Change Without the Overkill
Friday, February 14, 2025
We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy
5 ways AI can help with taxes 🪄
Friday, February 14, 2025
Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help
Recurring Automations + Secret Updates
Friday, February 14, 2025
Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The First Provable AI-Proof Game: Introducing Butterfly Wings 4
Friday, February 14, 2025
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%
GCP Newsletter #437
Friday, February 14, 2025
Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers
Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰
Friday, February 14, 2025
Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from
The Great Social Media Diaspora & Tapestry is here
Friday, February 14, 2025
Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great
Daily Coding Problem: Problem #1689 [Medium]
Friday, February 14, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,
📧 Stop Conflating CQRS and MediatR
Friday, February 14, 2025
Stop Conflating CQRS and MediatR Read on: my website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your