Architecture Weekly #116
Architecture Weekly Issue #116. 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.
Highlights
Migrating Kafka Cluster to Kubernetes 👷♂️
At some point Zendesk decided to move the Kafka clusters from VMs to Kubernetes. However you can't just spin up the new cluster: you need to switch the clients and migrate the data. So Zendesk engineers created an elegant solution for seamless migration without changes at client sides. Get to know how!
#kafka #casestudyx
The most Common Domain-Driven Design Mistake 🍼
DDD is a powerful tool for designing microservices architecture and modular modoliths. Still it's easy to incorrectly identify the domains and introduce tons of problems in scope and teams. This post shows how to fight the problem where one domain is a single responsibility for multiple others.
#ddd
Latency numbers everybody should know 👷♂️
Satisfying performance requirements require handling latency issues. The basic foundation for it is understanding the latency numbers of basic things: time to trasnfer a MB of data to a nearby city over a 5G network, time to parse 1 MB of HTML and some more. Find them in this article!
#performance
Follow-Up
Simple Design Doc explained in 4 minutes 🍼
People tend not to write software design documents because they don't know how to do that and think it takes a lot of time. I am showing in unders 4 minutes that the structure is straightfoward and explaining how to write a good oc.
#video #documentation
Beating the CAP Theorem Checklist 🤟
CAP Theorem can be fun... when you're creating a solution to beat it. This checklists is probably having the most reasons why the new idea proving the theorem wrong will fail. If you have one - definitely check it!
#theory #distributedsystems
Understanding Delta Lake's consistency model 🤟
Delta Lake is an open-source storage framework that enables building a format agnostic Lakehouse architecture. It is an evolution of the views on data warehouse and data lake architecture intended to provide ACID guarantees for data warehouses. Get this explanation how they can be achieved using layered architecture.
#dwh #dataengineering
Implemeting idempotent AWS Lamda Functions with Powertools for AWS Lambda 👷♂️
AWS Lambda was built arount the retries. It means you need to be careful considering what happens if your lambda is called with the same payload twice. Likely, there is a library to add idempotency to Lambda. Find out how
#aws #serverless #lambda
How LiveWell leverages serverless architecture 👷♂️
I don't frequently see purely serverless architecture used in big products, and LiveWell by Zurich insurance company is an example. Find an elaborative post in AWS on how AWS Lambda, DynamoDB and many other AWS tools are used there.
#serverless
How Discord Moved Engineering to Cloud Development Environments 👷♂️
Cloud9 appeared 10 years and I was thinking to switch to it, as it provided the possibility to write code anywhere with the internet access. Discord though did the same now migrated the developer experience from local machines to Cloud Development Environments with VScode. More details inside!
#casestudy
WARNING 🇺🇦
The brutal and unjustified war against Ukraine continues already 2 years. If you want to help Ukraine directly visit this fund.
Big thanks to Nikita, 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. They receive early access to the articles, influence the content and participate in the closed group where we discuss the architecture problems. They also see my daily updates on all the things I am working on. Join them at Patreon or Boosty!