
Senior SWE TL @Google | ex Principal @RedHat | @ThanosMetrics @PrometheusIO | Bsky: https://www.teapawt.net/t.co/ZzsR3O48hy | Efficient Go 📖 @OReillyMedia
London, England
Joined October 2015
- Tweets7.5K
- Following792
- Followers7.4K
- Likes23.8K
Bartłomiej Płotka retweeted
Hej, Warszawa! 🇵🇱
We’re heading to WAWTECH! 🚀 Our Co-Founder @valyala will take the stage to share: “VictoriaLogs architecture: how can it handle a petabyte of logs on a single node.”
The talk explains why traditional databases such as #MySQL and #PostgreSQL aren't a good fit for big volumes of logs. The talk sheds light on the internal architecture of the database optimized for cost-efficient storage and processing of petabytes of real production logs from applications running in Kubernetes.
📆 November 27th, at 14:00, Growth
📍 Warszawskie Centrum EXPO XXI - Growth track
See you soon, Poland!
hubs.li/Q04FKDQf0
Bartłomiej Płotka retweeted
Subtract pprof data, to focus on a specific change 🤯
§9 in "Efficient Go" by @bwplotka
#golang
Reminds me how with some stereo songs, you can remove the (mono) voice by subtracting L from R, keeping only the stereo instruments 😅

ALT Comparing and Aggregating Profiles The pprof format has one more interesting characteristic. By design, it allows certain aggregations or comparison for multiple profiles: Subtracting profiles You can subtract one profile from another. This is useful to reduce noise and narrow down to the event or component you care about. For example, you can have a heap profile from one run of your Go program when you load tested simultaneously with some A and B events.
Bartłomiej Płotka retweeted
Proof riemann? Np, here are 250k pages. Avoid accidental complexity? Sorry, can't do. LOL
Me: why is this line needed? add a comment or drop it
Clanker: adds comment with BS explanation
Me: y tho?
Clanker: You're right, drops the line and the comment
Happens all the time.
Bartłomiej Płotka retweeted
Do not be satisfied with slow programs. Do not be satisfied with slow builds. Do not be satisfied with slow tests.
Bartłomiej Płotka retweeted
Perfloop is past 150 changes merged into open source. 155 today, in 36 projects.
The first 50 took 88 days. The next 50 took 42. The last 50 took 20.
It started with performance. In October we began hunting bugs too. Half the record is bug fixes now.
Go, Postgres, Redis and Elasticsearch are in there. Every one links to its merge.
Bartłomiej Płotka retweeted
Time to first token (TTFT) for Carbon is now 1.5x faster on Antigravity. Will follow soon with Argon too.
Lots of work went into this so you all could have a faster experience. More to come 👀
Bartłomiej Płotka retweeted
CoreDNS merged its first Perfloop PR.
CoreDNS is the default DNS server in Kubernetes. Its cache can remember a failed lookup for a set time, so a struggling upstream is not asked again straight away.
The setting accepts fractions of a second, but the cache stored whole seconds. Set it to 500ms and the failure expired at once. Set it to 1.5s and you got one second.
Perfloop found it, filed the issue and opened the fix with a test on a controlled clock.
Thanks Yong Tang for the merge.
Bartłomiej Płotka retweeted
In September I made a chat thread my VP of Engineering. It built an org of twenty agent threads.
In October it audited the bureaucracy it had created, handed off its work and fired itself. That took 47 minutes.
Last week the org that replaced it merged 1,119 pull requests.
Bartłomiej Płotka retweeted
libghostty 1.0 is here! I started Ghostty ~5yrs ago to work towards this. Today, libghostty is in hundreds of projects used by tens of millions of people. 1.0 marks ABI stability, quality, and an invite for distros to begin packaging. mitchellh.com/writing/libgho…
Since starting the Ghostty project in 2022, the most common question I've been asked is "why?". Today, I'll answer this by showing the broad industry impact libghostty has already had.
On top of JetBrains and Neovim already mentioned (that alone being over 10 million users):
-KDE developers are experimenting with a Konsole replacement built on it.
- Vercel's Turborepo uses it to render task output in its TUI.
- devenv uses it to drive shells.
- Antithesis used it to fuzz TUI programs and found real bugs in btop and others.
-Ghostel brings it to Emacs.
- ghostty-web is the WASM build with an Xterm.js-compatible API.
- Commercial products like OrbStack embed it.
- And a whole wave of new terminals and "agentic" coding tools, such as herdr and cmux, have been built on it rather than writing yet another emulator.
There are community bindings for Rust, Go, JavaScript, Swift, Python, .NET, Elixir, Dart, Java, and more, and the awesome-libghostty list tracks well over a hundred projects.
More people today use a terminal powered by libghostty than use Ghostty the application, by a very large multiple. And libghostty is having a much larger impact than being "just" a terminal emulator.
I'm excited to see where people take it from here.
Bartłomiej Płotka retweeted
“A new Go API for JSON” by Michael Pratt, Joe Tsai, Daniel Martí, Johan Brandhorst-Satzkorn, Roger Peppe, Chris Hines, and Damien Neil
go.dev/blog/jsonv2
#golang
Bartłomiej Płotka retweeted
Prometheus merged another Perfloop PR this morning.
PromQL range functions like predict_linear and quantile_over_time can take scalar arguments. For every argument, on every series, at every step, the evaluator built a fresh one-sample vector.
Now each slot is set up once and overwritten before each call. On the range query benchmark Prometheus already had, at 100 series and 1,000 steps, that's 52% fewer bytes and 89% fewer allocations.
Thanks @bboreham, Julien Pivotto and @bwplotka for the review.
Bartłomiej Płotka retweeted
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?
Bartłomiej Płotka retweeted
🔥 @golang just became the most-used language on @googlecloud.
Java is close behind (on raw SDK API requests). Fastest growing? Python, Rust, C++, JS, and C# adding users and SDK requests rapidly.
Install the Go SDK (github.com/googleapis/google…), along with Genkit Go, and ADK Go!
Bartłomiej Płotka retweeted
Inspired by oxcaml's zero_alloc, I've been working on a tool to help clamp down on heap allocations in Golang.
github.com/theconsensuslabs/…




















