Bartłomiej Płotka (@bwplotka) header
Bartłomiej Płotka (@bwplotka) profile picture

Senior SWE TL @Google | ex Principal @RedHat | @ThanosMetrics @PrometheusIO | Bsky: https://www.nitter.cf/t.co/ZzsR3O48hy | Efficient Go 📖 @OReillyMedia

London, England
Joined October 2015
Photo by Bartłomiej Płotka (@bwplotka)Photo by Bartłomiej Płotka (@bwplotka)Photo by Bartłomiej Płotka (@bwplotka)Photo by Bartłomiej Płotka (@bwplotka)Photo by Bartłomiej Płotka (@bwplotka)Photo by Bartłomiej Płotka (@bwplotka)Photo by Bartłomiej Płotka (@bwplotka)Photo by Bartłomiej Płotka (@bwplotka)Photo by Bartłomiej Płotka (@bwplotka)Photo by Bartłomiej Płotka (@bwplotka)
My "Efficient Go" book with @OReillyMedia has been released!🎉 I wrote some words about the book, content and generally my experience writing it (with photos!): bwplotka.dev/book Good for a slow Saturday--maybe it will help you to decide to write your own book? 🤗
17
38
3
271
That's 100% why things like prometheus.io/blog/2026/11/2… are happening now.
I was about to share this internally but decided to publish it instead. Systems research is the new job, rakyll.org/systems-research/. It means having to drive deep cultural changes in how things are built and recognized.
7
99
11,738
🚨 ALERTS{alertname="BigDecisions", alertstate="firing"} 1 I have spent a huge part of my career building #opensource metrics systems across @PrometheusIO, @ThanosMetrics, and now @Google. For years, we tried (I remember 3 times at least!) to "merge" @cortexmetrics, @ThanosMetrics , and @grafana #Mimir. We all loved the same mission, just trapped in separate silos. There was simply not enough $$$ to justify making the @CloudNativeFdn landscape simpler and coherent for end users. Last week at the #Prometheus DevSummit, something special happened! Together, the community reached consensus on PROM-116 and opened space under Prometheus's refreshed, vendor-neutral governance for "Distributed Prometheus [.]rs" ❤️🦀 Jan and I wrote a blog post to share the full story and keep expectations clear from day one 👇 prometheus.io/blog/2026/11/2… TL;DR: • @golang prometheus/prometheus is not going anywhere, and there is no deprecation timeline. Same with Thanos and Cortex, for now. • At this point, there is no graduation plan. This is an experiment for now, and single-node Prometheus always comes first. • This is not a "yolo rewrite it in @rustlang " trend chase. Adopting shared Rust columnar libraries like @ApacheArrow , DataFusion, @ApacheParquet , and Vortex lets Prometheus absorb years of database-engineering work and join a much wider #opensource community. Yes, I wrote the "Efficient Go" book, and yet here I am diving into Rust and columnar storage because the numbers and the community energy are simply too good to ignore (: If you care about OSS observability, columnar storage, DataFusion, or SIMD, come build this with us in #prometheus-rs-sig on CNCF Slack! 💪 PROM-116: github.com/prometheus/propos… Repo: github.com/prometheus-commun…
7
17
3
112
8,269
Damn, I got a stomach bug... = More time for @GTA 6! Always look on a bright side!
1
10
612
Many asked about future of @PrometheusIO given the overlap and rise of @opentelemetry The beauty is that @PrometheusIO and @opentelemetry actually don't compete here, they supplement each other. My intention (and prediction) is clear: 1. @PrometheusIO as ecosystem will be the best, most efficient, pull based OSS metric full solution including collection, but also storage and querying, etc. Both monolith and distributed system (with @ThanosMetrics 2.0) 2. Otel-arrow will become the most efficient Otel collector for multiple signals and processors. More capable collection but the same efficiency as Prometheus (see why on 3). 3. New Prometheus(.rs) agent will literally import Otel arrow Rust code, but will simplify the pipeline and ensure Prometheus compatible config. Thoughts? (:
11
7
1
65
5,234
This is huge. Probably the biggest realization for open-source @CloudNativeFdn metrics this year. 🔥 Scraping 345,000 active @PrometheusIO series every 15s and sending via Remote Write 2 or @opentelemetry OTLP takes on modern @golang collectors: • ~1 GiB of RAM (WSS) with ups & downs (WAL compaction, cardinality bumps) 🚀 With @rustlang and @ApacheArrow via @opentelemetry otel-arrow using our new Prometheus scrape.rs crates: • ~30 MiB of RAM (WSS, 5 MiB live heap) • 2.6x–7.3x less CPU, flat for 23 hours 😱 I couldn't believe it. How is this even physically possible? We have an opportunity to save $2.5B–$4B/yr in collector compute globally, and easily $100M+/yr at single-hyperscaler scale. We can scale 30x per pod, get hardware back, and deprioritize complex scalability band-aids like DaemonSet VPA and sharding. Yes, I wrote the @OReillyMedia "Efficient Go" book, but for the last 2 weeks I've been becoming a Rust and columnar developer. There is no other way. This is the way. And yes, we are starting a Prometheus.rs (ecosystem-wide) SIG — see #prometheus-rs-sig on CNCF Slack! Huge thanks to the OpenTelemetry otel-arrow community for doing most of the work, Laurent Quérel for consulting, and the @ThanosMetrics & @PrometheusIO communities for columnar inspirations 💪 (Disclaimer: early numbers without full parity yet—with staleness, relabeling, and K8s discovery, compute needs will grow. Still, starting at 30 MiB WSS gives us tons of room!)
7
17
5
76
6,266
Google Jev! (:
Today we’re launching the Gemini Decisions API, powered by our new Gemini Decision 1 model in @GoogleAIStudio. Instead of generating text token by token, it’s built for closed-set choices scoring up to 1,000 questions across text, images, audio, video + PDFs in a single pass. A few details: - 3 decision types: yes/no, multiple choice (up to 255 options) + rubric scoring - $0.10 / 1M input tokens with $0 billed for output tokens (~5x cheaper than Flash-Lite) - leads on several benchmark evals with lowest calibration error Google teams are already building with it, below is a look at Stitch Rapid designing a full product flow in seconds (1x speed)
8
661
Spoiled by @golang benchstat tool, I built "benchfmt.rs" for @rustlang and wrote a blog post about it! bwplotka.dev/2026/rust-micro… TL;DR: 0-dep benchmarking runner for Rust + Criterion converter adding B/op, allocs/op & pprof profiles. It's good to get back to teaching LLMs for free again (aka blog posting). Although some humans too, so it's worth it 💪
2
3
1
26
1,185
Go (vtprotobuf + snappy) vs Rust (prost + snap) results: • Varints: Rust 43% faster (LLVM unrolls shifts) • RW2: 18% faster ns/op & 15% fewer allocs, but +31% B/op (Vec doubling) • Full binary: ~4x less RSS once Go GC kicks in github.com/bwplotka/benchfmt… #rustlang #golang
1
6
660
I love when #opensource investments pan out! I’ve built many OSS projects over the years—only a few ever get real adoption. Seeing "mdox" still useful and growing a community 5y after its last release is an amazing feeling! Just cut v0.10.0! ❤️ github.com/bwplotka/mdox/rel…
1
1
19
1,123
Review experience on @github have to change... IT changed: we don't use IDEs, we guide our agents we spend tons of time on reviews. We can optimize so much with the reviewing UX to have less context switches and scale our reviews to the demand. How to provide this feedback?
1
2
10
747
Because I am considering writing my own chrome plugin that will overlay better experience for GH at this point 🙈
147
Hm, I am not very impressed - pretty standard setup these days. Also not every place can test on prod and revert quickly (: Definitely not a solved problem!
1
8
722
🚨 ALERTS{alertname="NewBlogPost", alertstate="firing"} 1 I wrote about exciting and ambitious changes we are making in @PrometheusIO project: prometheus.io/blog/2026/02/1… Diving into the potential future of the "native" model for the composite metric types in Prometheus. 💪
3
17
1,753
Woke up today to my blog post appearing on the top 10 of hacker news today!  Sounds like my site is up on down due to concurrent traffic... 🙃 switched to higher provider tier, but if it's down, here is a backup link: web.archive.org/web/20251111…
Side projects, blog, podcasting is hard with 2 small kids, but I eventually managed to find time for a blog! (PS: I had to switch to 5am routine 🙈) Wrote some words about @DuffieldJesse #lazygit OSS tool and what we can learn from its UX. Enjoy! 🤗 bwplotka.dev/2025/lazygit/
1
8
841
100% this. We are in the cycle of "unifying things", which is like going back to monoliths for DBs, collection, SDKs etc. Tempting but maybe utopia? BUT no one blocks ppl from trying and learning on their mistakes (: We will see in 5y cycle to move back to dedicated solutions.
There are DevOps and SRE engineers who think that a unified database for metrics and logs is a good idea. This isn't a good idea from an operations perspective because of the following reasons: - Lower availability. If something wrong happens with the stored logs, there are high chances that this will affect metrics stored in the same database, and vice versa. - Noisy neighbour. You cannot allocate dedicated resources (storage space and storage IO, CPU, RAM, network bandwidth) individually for metrics and logs if they are stored in the same database. These resources are shared, so the increase in logs' workload may negatively affect metrics' workload and vice versa. - Operational complexity and efficiency. You cannot have individual backup and recovery strategies per metrics and logs stored in the same database. Logs and metrics may require different retention policies. These policies are hard to implement efficiently and clearly when logs and metrics are stored in the same database. - Query usability and performance. Efficient querying metrics and logs are completely different things - they need different query languages optimised for typical queries over metrics and logs. They also need different optimizations at the database level for achieving high querying performance and low resource usage. So think twice before choosing an all-in-one observability solution for metrics, logs, traces and profiles, which stores all this data into a single database, and advertises this as a feature. It usually works great at demo time and at low load in staging environments, but it may not be so great under load in production because of the issues mentioned above.
5
536
Side projects, blog, podcasting is hard with 2 small kids, but I eventually managed to find time for a blog! (PS: I had to switch to 5am routine 🙈) Wrote some words about @DuffieldJesse #lazygit OSS tool and what we can learn from its UX. Enjoy! 🤗 bwplotka.dev/2025/lazygit/
2
2
3
11
1,573
Fun bugs happen, let's see if you can spot them (without looking on comments)! (: Quiz#1: Why "make check" will never detect any formatting errors in the following snippet: gist.github.com/bwplotka/5c6…
2
485