How Stale PostgreSQL Statistics Made a Query 580 Times SlowerPostgreSQL 18, like 17, auto-analyzes a table only after 10% of it changes, and a 9.3% backfill left a query on the wrong index.13 min read·anatoliizhadan.hashnode.dev2d ago
Reading Postgres EXPLAIN ANALYZE when the planner expects 300 rows and gets 15,000A bad plan starts at the lowest node where expected and actual rows split, and every node above it is built on that wrong number.15 min read·anatoliizhadan.hashnode.devNov 17
Postgres not using your index? It's counting pages, not rowsYou get a Seq Scan even with an index because the planner prices a query in pages, and a small table is cheaper to read whole.13 min read·anatoliizhadan.hashnode.devNov 13
How to Deploy a Self-Hosted 2-of-3 MPC Signing Cluster (Without Losing Everyone's Keys)The DKG ceremony, the backup model, and the disaster-recovery drill that caught a silent, cluster-killing bug — from a real deployment, not a hello-world.34 min read·anatoliizhadan.hashnode.dev1Jul 14
How to Store Your Users' Crypto Wallets So Nobody Can Steal ThemYour backend can decrypt every user's private key. So can your ENCRYPTION_KEY. So can whoever gets far enough into your servers: a leaked19 min read·anatoliizhadan.hashnode.dev1Jul 7