Architecture Weekly Issue #157. Articles, books, and playlists on architecture and related topics. Split by sections, highlighted with complexity: 🤟 means hardcore, 👷‍♂️ is technically applicable right away, 🍼 - is an introduction to the topic or an overview. Now in telegram and Substack as well.
Sponsored
A blueprint to building a scalable authorization system 👷‍♂️
Authorization can make or break your application’s security and scalability. From managing dynamic permissions to implementing fine-grained access controls, the challenges grow as your requirements and users scale. This ebook is based on insights from 500+ interviews with engineers and IAM leads. It explores over 20 technologies and approaches, providing practical guidance to design a future-proof authorization system. Learn how to create a solution that evolves with your business needs while avoiding technical debt.
.png)
#authorization #security
Highlights
Versioning versus Coordination 👷‍♂️
While two concurrent transactions are running, we expect each transaction to see consistent data. One way to do it is blocking, which requires coordination and hits the performance. Another way is to store the versions of values used in the transactions. What versions to use for reading though? This is where physical clocks help. Follow Marc's explanations, great as always.

#db #distributedsystems
Tolerating full cloud outages with Monzo Stand-in 👷‍♂️
Huge production systems come with a cloud cost. Having a full copy for availability will hit the cost as well. So Monzo went with a hybrid solutions: they indeed introduced redundancy, but limited to the absolute minimum: only 1% of the services is replicated. Figure out why they decided to go this way.

#casestudy #reliability
Distributed Systems Programming Has Stalled 🍼
Despite a clickbait title, this article tells us what are the 3 distributed systems underlying paradigms there are out there and argues(not forgetting to mention LLMs of course) that we need a new programming model as LLMs work best having all the knowledge colocated. Details inside.

#distributedsystems
Follow-Up
I sent 500 million HTTP requests to 2.5 million hosts 👷‍♂️
It can sound like an easy task, but trying to do that consequently will take almost 8 years, so you need good parallelisation and understanding what's going on under the hood. DNS, TLS handshake, connection reuse, go libraries and many more here.
#performance
Why We Use Apache Kafka for Real-Time Data at Scale 👷‍♂️
This article explains how companies use Apache Kafka to handle large amounts of data in real time. This helps them quickly detect security threats by analyzing data within milliseconds instead of relying on slower traditional methods. The faster processing improves cybersecurity by allowing organizations to react to threats immediately.

#security
When Imperfect Systems are Good 👷‍♂️
A great example of business impacting the software design. Celebrity problem is pretty common in social networks: distributing the tweets of people followed by millions of followers can provide significant performance challenges. However, do we actually need to be superfast here? Bluesky knows the answer.

#performance #casestudy
Every pod eviction in Kubernetes, explained 👷‍♂️
Pod eviction is a crucial mechanism of allocating limited compute resources to applications in K8s. That's the reason to understand how Kubernetes evicts Pods: what components can do this and by which policy.
#k8s #kubernetes
3FS: Distributed File System for LLMs 🤟
Deepseek - a new LLM from China - opensourced its new file system. 3FS is a modern distributed file system optimized for high-speed, low-latency, and AI workloads, whereas traditional file systems are designed for single-machine or basic network storage and do not scale as efficiently in distributed environments. Follow the design notes for more details.
Big thanks to Nikita, Constantin, Anatoly, Oleksandr, Dima, Pavel B, Pavel, Robert, Roman, Iyri, Andrey, Lidia, Vladimir, August, Roman, Egor, Roman, Evgeniy, Nadia, Daria, Dzmitry, Mikhail, Nikita, Dmytro, Denis and Mikhail for supporting the newsletter on Patreon! If you like the newsletter, feel free to support it there - with one-time support for example!