Navi Mumbai, India

Hey, I'm Karan.

I write backend software. Lately I've been spending a lot of time on Postgres and on figuring out why programs use so much memory.

I keep my experiments and notes here. There's also a drawing you can play with, because I wanted one.

A little distraction001

A doodle you can take with you.

Recent writing

All notes ↗

Things I've been tinkering with

I tried loading a million rows into Postgres a few different ways. I also tested whether I could fit 100 million vectors into less memory. In Python, streaming the file changed memory use far more than switching parsers.

The workshop has the code and a PgBouncer benchmark you can click through.