Architecture Weekly #165 - 5th February 2024
Welcome to the new week! Did you start your Event Sourcing journey but are unsure if it'll work on production? Or maybe you're there already and want to check how you can enhance it? I have something for you! Domain-Driven Design Europe pre-conference workshop that I'll be giving this May. I plan to gather all my knowledge on this topic and synthesise it for you! I got it through my projects, working on Marten and EventStoreDB and helping others through my consultancy. It'll be an intensive but educational and fun experience (at least that's the goal!). Check the details, and feel free to ask if you have any questions or concerns: If you're still in the early phases, that's fine; I'm also doing closed workshops and consultancy. Check: They should show how other folks liked it. One of the reasons I included the DevOps and Process in the workshop's title is that I believe it’s essential to running software on production. Modelling and working on design are essential. We should not skip that, expecting design to emerge. Doing a healthy portion of design upfront is just cheaper, yet we should not forget to evaluate our assumptions and ideas. Building the right process and synergy between coding and operations is even more important. We also need to have the tools to do it. The platform approach is pictured as the go-to solution for now. I have mixed feelings about it; too often, I see that core or ops teams rebranded to the platform team just weaponised with new tools. The platform approach can be really helpful in reducing the cognitive load, but it also doesn’t come with a price, and it’s not easy to achieve. Charity Majors outlined the following pitfalls in her talk:
Watch all in: And I agree with all of that; I’d add to that Conway’s Law, which is inevitable. You cannot beat Conway’s Law like you cannot beat the gravity law. That’s also a topic of a great talk by Avraham Poupko: Ok, but getting back to operations. There are things that are just not easy; one of them is multi-region support. If you do it wrongly, your costs will skyrocket, your latency will be terrible and your brain will hurt. Alex Strachan wrote a nice overview of multi-region architectures: Interestingly, his first point is the same as Charity Majors in her talk: “Know Your Customer”. I can second that, without knowing customers, it is extremely hard to define the data governance practices as: isolation, consistency and replication needs. One of the important (but dangerous) tools to make such systems work and available is caching. Our systems need to work without it, but thanks to the proper caching strategy, we can enhance user experience and decrease the solution costs (of course, that can go both ways). A nice case study on it was presented by RevenueCat. Read more: Once we have that, we must also take care of the proper communication strategy to make the data flow smoothly. Check the case study by Lastminute.com on how they design the RabbitMQ messaging strategy: And if you’re searching for communication standards, CloudEvents just reached CNCF graduation. That means that it reached the final maturity level criteria. CloudEvents is a specification for the metadata/header for events. It was started by Microsoft and mostly adopted in Azure for now. I’d consider it in the cross-module communication. For inner module communication, this may be overkill. Still, it’s worth taking inspiration and checking if it matches your needs. Although it’s still surprising for me why they’re CloudEvents instead of CloudMessages, well… Read more: See also a nice material on pitfalls to avoid when building Event-Driven systems. It’s a nice set of advice around data governance: Two weeks ago, I presented a great article by Ryan Shriver on his approach to Software Architecture Modernisation with DDD. Now, I’m even more than happy to say they took a step forward and published all of them as Miro board templates! I think that’s a must-have thing to check and play with; I’m planning to do it soon. That’s also a great spirit of sharing knowledge with the community. Kudos to them! Btw. it’s a good time to remind the C4 template by IcePanel in case you missed it: Last but not least, Cloudflare shared its story on the last Thanksgiving Okta breach and its impact on Cloudflare. They wrote:
Read the full coverage: It was yet another issue caused by Okta. Cloudflare was infected, but they claim that it didn’t target their customers, listing more details.
Funnily, we still didn’t get even comparable threat analysis from Okta besides the blank statements. It's a terrible sign for a company that aims to care about security. 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
DevOpsDatabasesTestingAI.NET
Node.jsSmalltalkTypeScriptManagementIndustrySecurityInvite your friends and earn rewardsIf you enjoy Architecture Weekly, share it with your friends and earn rewards when they subscribe. |
Older messages
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
Architecture Weekly #162 - 15th January 2024
Monday, January 15, 2024
We started with getting back to Leslie Lamport's works, Cynefin and added Wardley Mapping to the game. We discussed how to and how to not think about our decisions and strategy. Also for product
Architecture Weekly #161 - 8th January 2024
Monday, January 8, 2024
Welcome to the new week! We started today with big words like Complexity and followed them with even smarter-sounding words like Cynefin and TLA+. We explained why those decision-making frameworks are
You Might Also Like
📧 What Rewriting a 40-Year-Old Project Taught Me About Software Development
Saturday, December 28, 2024
What Rewriting a 40-Year-Old Project Taught Me About Software Development Read on: my website / Read time: 7 minutes The .NET Weekly is brought to you by: As the year wraps up, it's clear API
This Week in Rust #579
Saturday, December 28, 2024
Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 579 — 25 DEC 2024 Hello and welcome to another issue of This Week in Rust! Rust is a programming language
The Calm Voice Of Chaos 🏆
Friday, December 27, 2024
The protest singer whose songs shaped 2024. Here's a version for your browser. Hunting for the end of the long tail • December 27, 2024 The Calm Voice Of Chaos This year's Tedium awards start
JSK Daily for Dec 27, 2024
Friday, December 27, 2024
JSK Daily for Dec 27, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Performance Optimization in React Pivot Table with Data Compression The Syncfusion React
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 -