12 November 2026
Posts published on funGyaan on 12 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 |
-
Lambda, Fargate or EC2: how do you decide on cost?
You pay Lambda per request and per millisecond, Fargate per second of reserved vCPU and memory, and EC2 per instance-hour whether busy or not. The cheapest choice depends on utilisation: spiky and idle favours Lambda, steady and busy favours EC2, and the crossover is worth calculating for your own…
-
What happens when you reset a few commits and force-push?
Force-pushing after a reset moves the branch pointer on the server; it doesn't delete anything. The dropped commits live on in reflogs, in every teammate's clone and, on GitHub, by SHA. What each teammate sees next depends on how they pull: a merge-pull brings the commits back, a rebase-pull…
-
How do you keep two systems consistent without distributed transactions?
An order in one database, its payment in another, and a process that can die between them. Dual writes, two-phase commit, sagas and the outbox, each run 1,000 times with crashes injected: what goes wrong, what recovers, and what two-phase commit's in-doubt transactions block.
-
How do you find what's nearby?
Among a million points across India, finding everything within 1 km took 104 ms with a full scan, 1.2 ms with geohash cells and 43 µs with a quadtree, all returning the same results. Geohashes are simple and fit any key-value store; quadtrees adapt to density. Measured, plus what PostGIS and Redis…