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
Venture capitalists love musical chairs
Thursday, May 2, 2024
A number of investors have been swapping gigs and bouncing from prior employers to build new investing groups. View this email online in your browser By Alex Wilhelm Thursday, May 2, 2024 Good morning,
Gemini in Android Studio and more: Android Studio Jellyfish is Stable!
Thursday, May 2, 2024
View in browser 🔖 Articles Gemini in Android Studio and more: Android Studio Jellyfish is Stable! Android Studio Jellyfish (2023.3.1) is making waves with its official stable release! 🪼🌊 Dive into
wpmail.me issue#665
Thursday, May 2, 2024
wpMail.me wpmail.me issue#665 - The weekly WordPress newsletter. No spam, no nonsense. - May 2, 2024 Is this email not displaying correctly? View it in your browser. News & Articles Why Should You
PHPWeekly May 2nd 2024
Thursday, May 2, 2024
Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 2nd May 2024 Hi everyone, Hope you're all well. This week we
'No one should buy the Ai Pin'
Thursday, May 2, 2024
🖖 Star Trek fans weep
Microsoft’s OpenAI partnership was born from Google AI envy
Thursday, May 2, 2024
The Morning After It's Thursday, May 02, 2024. Emails from the Department of Justice's antitrust case against Google revealed how Microsoft executives were alarmed by and even envious of
Top Tech 🏆 Are the Beats Solo 4 Worth Buying? — We Tested a Transparent Power Bank
Thursday, May 2, 2024
Also: Unistellar Odyssey Pro Telescope Review, and More! How-To Geek Logo May 2, 2024 🎧 Drop A Beat! The all-new Beats Solo 4 headphones are finally here, with improved acoustics and better battery
CISA Warns of Active Exploitation of Severe GitLab Password Reset Vulnerability
Thursday, May 2, 2024
THN Daily Updates Newsletter cover Webinar -- The Future of Threat Hunting Is Powered by Generative AI From Data to Defense: Step Into the Next Era of Cybersecurity with CensysGPT Download Now
The Future of Wallets: Introducing the Ridge Wallet for MagSafe
Thursday, May 2, 2024
Redefine convenience and security with MagSafe-compatible magnet arrays embedded in Ridge products. Upgrade what you carry and get Apple's® newest must-have accessory. Engineered for seamless
Edge 392: Meet RAFT: UC Berkeley's New Method to Improve RAG Patterns in LLMs
Thursday, May 2, 2024
The method brings the best of RAG and supervised fine tuning. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏