Architecture Weekly Issue #143. 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

Making Decisions as Software Architect 🍼

I met Avraham on the Global Software Architecture Summit and we had a pleasant discussion on the speaker dinner about architeture decisions, help of LLMs and the architect job. I invited him for an interview for Architecture Weekly channel - so you can enjoy the conversation as I did.

#interview #decisionmaking

How WebSockets cost us $1M on our AWS bill πŸ‘·β€β™‚οΈ

A nice article on performance and cost, showing that a) you need to know what it taking the biggest part of your cloud bill b) you need to calculate your throughput c) once you know, you can optimize the hell out of it. Find out what recall.io replaced WebSockets with to solve all of the problems at once

How WebSockets cost us $1M on our AWS bill

#performance

AWS & OpenTelemetry: Collector architecture at scale πŸ‘·β€β™‚οΈ

Using OpenTelemetry is a no brainer for mature systems these days. However there are plenty of ways how you can actually collect telemetry data: sending directly, using sidecars, centralizing agents etc. Each of course has it's own set of pros and cons. Discover them all!

AWS & OpenTelemetry: Collector architecture at scale
This article covers different approaches to collecting your telemetries with OpenTelemetry, from the simplest to the more complex…

#observability

Follow-Up

How to sell a technology to your CTO 🍼

I am not only recording videos for a YouTube channel, I also write articles. After reading some reddit, I recalled that I wrote a long read on how to sell the idea of adopting a new technology to your CTO. Story telling, business perspective and pros/cons analysis are the keys. Follow the article for details!

How to sell a technology to your CTO
You know a new technology will benefit your project. You tried to suggest it, but there is no response. How do you efficiently convince the CTO to adopt a new tech?

#advocating

Do You Really Need Redis when Postgres can do the job? πŸ‘·β€β™‚οΈ

I initially though about using Redis as cache, but this article argues, that if you use Redis for coordinating jobs and having application-wide locks, then new Postgres capabilities introduced in version 9.5 can probably render this use of Redis obsolete. Find the examples inside.

Do You Really Need Redis? How to Get Away with Just PostgreSQL
It’s a common architecture to have PostgreSQL and Redis serve as the backbone of your app, but PostgreSQL may be capable of everything you use Redis for.

#db

DuckDB Is Not a Data Warehouse 🍼

With all the buzz around DuckDB, you still can't use it as a DWH for your enterprise because it does not scale out of the box. The most analytical queries are indeed small, but the it's the large ones which are the most valuable, because you need to account for all the company. Chris Riccomini explains.

DuckDB Is Not a Data Warehouse
DuckDB is a tool, not a product.

#db #dwh

Kubernetes Troubleshooting: Disk Pressure Taint πŸ‘·β€β™‚οΈ

If disk space on a node is running low, K8s will add a taint to it, so that pods sensitive to disk space won't be scheduled on it. In this article Maxat Akbanov explains how this taint is assigned and what you can do to remove it, for example clearing up old docker images.

Kubernetes Troubleshooting: Disk Pressure Taint
Kubernetes Troubleshooting: Disk Pressure Taint

#k8s #lubernetes

Import existed AWS resources into Terraform πŸ‘·β€β™‚οΈ

Having IaC is nice: you have a history, you get a repeatable infrastructure, you have transparency. But incidents happen, and you would occasionally add resources and make changes in prod. How to get it back into IaC? Recently terraform received import feature which now allows grabbing the current state of your infra. Find out how to use it

Import existed AWS resources into Terraform
When you heard about upgrading or maintain your existed aws resources to terraform for code versioning, your head might spin around and get…

#cloud #iac

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!