Performance
5 posts

PostgreSQL Query Parsing Too Slow? PgDog Ditched Protobuf and Got 5x Faster
PgDog is a Rust-based PostgreSQL proxy. They discovered Protobuf serialization was the real bottleneck in SQL query parsing — not the Postgres parser itself. By replacing Protobuf with direct C-to-Rust FFI bindings, they achieved 5-10x faster parsing.

The C10M Problem in 2026: Why Your 128-Core Server Still Can't Handle 10 Million Packets Per Second
When packet rates surpass 2 million per second, the Linux network stack simply gives up. It’s like your doorbell won’t stop ringing, but you never have time to open the door. Let’s talk about bypassing the kernel.

I Rewrote Our Python Data Pipeline in Rust: 3 Hours to 4 Minutes, 40x Faster
A real-world case study of rewriting a Python data pipeline with Rust + DuckDB. From 3-hour daily ETL jobs to 4-minute runs, memory usage dropped from 12GB to 600MB, and server costs cut by two-thirds.

Rust Performance Pitfalls: When Rust Runs Slower Than Python
Rust performance optimization in practice: I watched my Rust rewrite get crushed by Python. The problem was data structure choice.
I Told Old Zhang His Rust Service Might Be 10x Slower - He Almost Spit Coffee in My Face
Rust service suddenly 10x slower? The problem might be hiding in Serde macros. This article walks through a real story to help you identify and fix performance issues caused by Serde serialization.