Search
Lessons (7)
- Caching, Consistent Hashing and Sharding
… and database consistency costs. Three different tools ![A request can use cache for speed, consistent hashing for stable …
- Scaling, Load Balancing & Rate Limiting
… active requests Requests vary in duration IP hash / consistent hashing Same client → same server Need stickiness or cache …
- Topics, Partitions & Offsets
… order-42"] -- "hash → 1" P1[Partition 1] K2["key: order-77"] -- "hash → 0" P0[Partition 0] K3["key …
- Replication, Partitioning & Sharding
Scale reads with replicas, split data safely with partitions and shards, and plan for consistency, hot keys and …
- SQL vs NoSQL Databases
… Very organised, very consistent. - NoSQL is like a filing cabinet of folders : each folder (document) holds everything about …
- REST API Design
… User not found } Checklist - [ ] Plural nouns, no verbs in paths - [ ] Correct methods and status codes - [ ] One consistent error …
- Database Indexing & Transactions
… tree (default) = , < , , BETWEEN , ORDER BY , prefix LIKE 'abc%' Hash Equality only GIN Full-text search, JSONB, arrays GiST …