7 November 2026
Posts published on funGyaan on 7 November 2026.
November 2026
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
-
Why does my Postgres query get slower as the table grows, even with an index?
An index only helps when Postgres can stop early or touch few pages. Six measured reasons it can't, from 10K to 10M rows, and the fix for each.
-
How do you generate unique IDs across many servers?
Inserting 5 million rows with random UUIDv4 keys took 34 s and left a 196 MB index at 69% fill; time-ordered UUIDv7 took 21 s with a 150 MB index at 90%; plain bigint 24 s and 107 MB. Database sequences, UUIDv4, UUIDv7 and Snowflake-style IDs compared, measured on PostgreSQL, with when to use which.
-
How do you check "have we seen this?" for millions of items cheaply?
An exact set of a million emails took 56 MB; a Bloom filter answering the same question with 1% false positives took 1.2 MB. Bloom vs cuckoo vs an exact set, measured: memory, false positives, deletes, and what happens when you overfill them.
-
Why are some databases fast at writes and others at reads?
Under the hood, most databases are either a B-tree or an LSM tree. A B-tree updates data where it lives and pays for random writes; an LSM tree appends and sorts later, and pays at read time. Measured with the engines under etcd and CockroachDB: 54× vs 7× bytes written per byte stored, and reads…
-
A user says a page has started lagging: how do you debug it end to end?
Narrow it down before you open a profiler: who, which page, since when. Then measure one layer at a time (browser, network, server, database, dependencies) until one of them owns the time. Five server-side causes measured with OpenTelemetry traces, and the signature each leaves.