What is this place? Confused (visibly) 😕
Archive
writings
Essays and notes on systems, databases, performance, software engineering, and the occasional personal tangent.
Personal
- Unknown Place
- Friday 6PM
some more BS
- Hype
What's the hype?
- Creativity
Creativity as fundamental pillar
Technical
- Read-Locks Are Writes in Disguise: Achieving 84x Concurrency on Apple M2
Textbooks tell us that read-write locks allow concurrent readers without blocking. On real multi-core hardware, adding cores collapsed throughput by 74%. Here is the physics of why, and how we achieved an 84x speedup with Optimistic Lock Coupling.
- Making Binary Search Faster on Apple M2
Binary search is O(log N) and standard library code like std::lower_bound is heavily optimized. Can we make it nearly 3x faster on Apple Silicon? Here is what happens when you dismantle branch mispredictions and cache lines.
- How fast can Postgres insert 10 million rows?
I benchmarked 10M-row insert strategies in Postgres
- WalJet: Building a High-Performance CDC Pipeline
A deep dive into building a Change Data Capture pipeline from Postgres WAL to Redis Streams using Go
- Missing Entries
When Postgres sequences skip values
- Building Meteo
How I built a metro navigation app for Delhi using web technologies and open data
- 169220804: Yet Another Magic Number
Arrays in js
- Python's Native Proxy Pattern
Pythonic way to make a proxy
- Test what you write
Another day another bug
- Common Distributed Systems Lingo
Distributed Systems Lingo