Architecture Weekly #152 - 6th November 2023
Welcome to the new week! Doctors Hate Her! Discover the Simple Trick to Lose Weight Overnight! We've seen such headlines too much, aye? I noticed that we're unfortunately repeating such communication also in the Event-Driven Architecture. I'm calling this issue the Clickbait Event. Too often, we publish events with just the id of the record and force subscribers to query our data. That creates a hell of a lot of issues, like coupling, chattiness, and reduced resiliency. I went through that in more detail in a recent article. As always, showing solutions and considerations when this anti-pattern can be a fair tradeoff. The event-driven approach is asynchronous; that’s what we hear when starting with the events. But what does that even mean? And why does that matter? It’s surprisingly hard to answer that. As always, with single-word terms, we have as many answers as people. Sam Newman went patiently on this topic, looking from different angles, e.g. communication, blocking vs non-blocking, messaging etc. I saw this talk live, and I highly recommend it. If you’re also looking for a general introduction to Event-Driven Architecture, check out Jonas Bonér. He did a great job explaining the logical reasoning behind it instead of focusing on technical details. And this approach is also close to how I see it. The wide-angle lens is one of my favourite tools in the software designer toolbox. The ability to zoom In and zoom out is essential in crunching the design. That gives us the possibility to start with the big picture and make an on-point evaluation of our ideas. That's also the reason why I like tools like C4, EventStorming, etc. As they embrace that we cannot look at our software from the same place (even from the Ivory Tower, sorry). I'm getting questions from time to time: "how to start with X/Y/Z?". Best by doing. I accidentally found an intriguing Miro board with a self-paced workshop that can get you started and your friends with the C4 model. Nice work from IcePanel! Sidenote, Miro and IcePanel are great for collaboration, but IMHO are not the greatest tools for keeping the model as static docs. My recommendation is to put the outcome of the workshop in the repository using tools like Mermaid, PlanUML, and Scrutcturizer and make it a source of truth near the code that we document. Cloudflare started as a content delivery network services provider that helps you to reduce DDoS attacks. Now, they’re advancing extremely fast on making their tooling a commodity and building a cloud platform. They started with Cloudworkers, a simple serverless model running on the edge (in the CDN servers). Now, it has expanded into advanced services, still being lightweight. It’s impressive how fast they iterate, providing simple but innovative tooling. Now, they provided a new thing: Hyperdrive. A distributed connection pool and caching for databases.
Read more in: I wouldn’t say that’d always work as a global tool, but for their serverless model, it’s a great addition. As their application layer is always ephemeral, it’s fair to move the 2nd caching level outside of the runtime environment. It’s worth keeping an eye on how it evolves. Cloudflare is also one of the proponents of the WebAssembly. I’m also. I think that’s a potential technology that can get us the common runtime environment for multiple languages. I like that it has a much better security model than containers. I think that we’re pretty close (networking and garbage collection proposals) to making it a full mainstream environment. If you’re curious about the current state, read a decent summary: Being an engineering manager requires a holistic view of software delivery. The first thing is to notice that it’s a sociotechnical system in which technology has to go hand-in-hand with human relations. What’s more, we need to understand our product goal. Then, somehow, manage to juggle (too often) contrary priorities and translate them to our teams. Being a manager is about enabling others to make an impact. Sometimes, that requires defining strategy, sometimes executing product roadmap, and sometimes coaching members. That’s challenging. Also rewarding but challenging. Check those resources to help you get a better picture of multiple things you need to take into account:
Check also other links! 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
DevOpsDatabasesAPIAWSAzure
.NET
Node.jsPHPWebAssemblyToolsCoding LifeProduct DesignManagement
IndustryYou're currently a free subscriber to Architecture Weekly. For the full experience, upgrade your subscription. |
Older messages
Architecture Weekly #151 - 30th October 2023
Monday, October 30, 2023
OnPremise strikes back! Or not? Can DHH and Musk be wrong? Let's check that. Let's see also yet another Okta breach and why we learned about it from CloudFlare? Will Kafka have queues? Shall we
Webinar #14 - Mateusz Jendza: Why Verified Credentials is the Future of Digital Identity!
Friday, October 27, 2023
Watch now (104 mins) | This time, a special guest Mateusz Jendza, with the topic: Why Verified Credentials is the Future of Digital Identity! Verifiable Credentials are an intriguing topic. They are an
Architecture Weekly #150 - 16th October 2023
Monday, October 23, 2023
Wow, it's the 150th edition of Architecture Weekly! Who knew? Definitely not me! Still, let's keep it rolling. This week's topics revolve around deprecating old features and how Facebook
Architecture Weekly #149 - 16th October 2023
Thursday, October 19, 2023
Today, we had a look at how to design proper event-driven APIs and event-sourced models. We didn't only finish that, but also discussed the biggest DDoS attack on all Cloud providers and finished
Architecture Weekly #148 - 9th October 2023
Monday, October 9, 2023
This time we look at case studies showing why a boring tech stack wins, and helps you scale out. Quirks like Oracle hosting Postgres, the whole Slack team slacking on internal training. And many more
You Might Also Like
Tuesday Triage #200 and giveaway
Tuesday, May 14, 2024
Your weekly crème de la crème of the Internet is here! The 200th edition featuring annual subscriptions giveaway, thoughts on nearly four years of ...
🎮 How AI Tools Are Changing Game Development — Grab a Pixel 8a Instead of Waiting for Pixel 9
Tuesday, May 14, 2024
Also: Sharing Your Google Maps Trip Progress, and More! How-To Geek Logo May 14, 2024 Did You Know In a bid to keep the ingredients secret, WD-40 was never patented. 🤖 The New GPT It's Tuesday!
Meta shuts down Workplace
Tuesday, May 14, 2024
Plus: Everything that happened at Google I/O and AWS CEO steps down View this email online in your browser By Christine Hall Tuesday, May 14, 2024 Hello, and welcome back to TechCrunch PM. The team
Flattening Lists of Lists, Python 3.13, Sets, and More
Tuesday, May 14, 2024
Flattening a List of Lists in Python #629 – MAY 14, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Flattening a List of Lists in Python In this video course, you'll learn how to flatten a list
Daily Coding Problem: Problem #1441 [Easy]
Tuesday, May 14, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. UTF-8 is a character encoding that maps each symbol to one, two, three, or four
Noonification: 3 Quick Ways to Optimize RecyclerView
Tuesday, May 14, 2024
Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 14, 2024? The HackerNoon Newsletter brings the HackerNoon
Using 97 fewer cores thanks to PGO
Tuesday, May 14, 2024
Plus an HNSW indexed vector store library, a new Go game hits the Steam store, and is 'ok' ok?. | #507 — May 14, 2024 Unsub | Web Version Together with Stytch logo Go Weekly Reclaiming CPU for
Ranked | The Top 6 Economies by Share of Global GDP (1980-2024) 📈
Tuesday, May 14, 2024
Gain a unique perspective on the world's economic order from this graphic showing percentage share of global GDP over time. View Online | Subscribe Presented by: Data that drives the
Free online event this Thursday: Getting ahead with time series data
Tuesday, May 14, 2024
Free Online Event Do you know how your competitors use time series data to get ahead? Join us on Thursday, May 16 at 10am PT/1pm ET for a free, hour-long online fireside chat called “Unleash the Full
Here's the deal
Tuesday, May 14, 2024
We wanted you to be among the first to know about our plans to relaunch the Gigantic training courses that Product Collective now powers! Here's the deal: From May 20th - May 31st, anybody that