Skip to main content

Articles

Welcome to my writing corner — a space where I share thoughts, insights, and ideas from my work as an engineer and observer of systems, both technical and human. Some posts are deep dives into infrastructure or developer tools. Others are reflections on craft, clarity, and the reality of building things that last.

I don’t publish often, but when I do, it’s because I’ve got something worth saying.

Oops, I Wrote a Compiler (While Trying to Cut Logging Costs)

Anyone here using Datadog?

It’s a wonderful tool, that quickly can become expensive. My client approached me to reduce our logging costs by removing unnecessary sources. The company was feeding logs to datadog from almost every source.

Costs were horrible. Consider 5 TBs of logs. No, not monthly. Daily. That gives roughly 150 TB / month, 1.8 PB a year. Petabytes.

For those who like mathematical notation it’s:

1.8 PB = 1.8 * 10^3 TB = 1.8 * 10^6 GiB = 1.8 * 10^9 MB

So, we’d need roughly 1.25 billion floppy disks (remember those?) every year to store it. Aligned next to each other, they’d create a road about 3,000 km long — roughly the distance from Poland to Barcelona and back. That’s roughly 8,000 standard 256 GiB SSDs — every year. That’s around 600 million iPhone photos — one photo per second for 19 years straight. Or 383,000 DVD discs. Stack them on top of each other and you’d get a tower almost 460 meters high — about 1.5× the Eiffel Tower, and slightly higher than the Empire State Building. Not quite Burj Khalifa yet, but… give them two years. That’s also about 900,000 VHS tapes — or five fully packed TIR trucks.

Tuning cluster autoscaler

Background

During one of my assignments, we were evaluating Karpenter. While being a rather cool piece of software, it caused us some pain. The general idea was to deploy Grafana Loki and use an autoscaling tool to maintain node pools automatically.

Karpenter seemed to be the perfect tool for this use case. However, it had (maybe due to my misconfiguration) some undesired side effects. It was quite aggressive in adding and removing nodes, which caused disruptions.

Hello, world!

Well — here we are.

After years of tinkering, building for others, chasing clarity, and rewriting my own tooling… I finally launched something personal. No bells, no buzzwords, no framework worship. Just a page. A place to think out loud.

This site is built with Hugo, styled thanks to Adrián Moreno Peña, and maintained with just enough automation to stay sane. It reflects how I like to work: minimal, fast, and intentional. And yes, I use great things that others created.