Search
Lessons (14)
- Caching, Consistent Hashing and Sharding
… Spread keys across cache machines with consistent hashing Consistent hashing decides which cache machine holds which key, and …
- Your First Terraform Project
… Further reading: [CLI workflow](https://developer.hashicorp.com/terraform/cli/run).
- Testing, Preconditions, and Policy Checks
… Further reading: [Terraform tests](https://developer.hashicorp.com/terraform/language/tests), [custom conditions](https://developer.hashicorp.com/terraform …
- Topics, Partitions & Offsets
… order-42"] -- "hash → 1" P1[Partition 1] K2["key: order-77"] -- "hash → 0" P0[Partition 0] K3["key …
- Scaling, Load Balancing & Rate Limiting
… active requests Requests vary in duration IP hash / consistent hashing Same client → same server Need stickiness or cache …
- 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 …
- DynamoDB Modeling, RDS Scaling and Data Resilience
… Find orders by status. Keys Key Role --- --- Partition key (PK) Hashed to choose the storage partition; must spread …
- 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 …
- Jenkins: From Install to Your First Pipeline
… tasks H in Jenkins cron means "hash": Jenkins picks a consistent minute per job so 100 jobs don …
- Collaborative Document Editing & Real-Time Sync
… The edge sends it to the collab server that owns this docId (found with consistent hashing, a way …
- Node.js and Express
… heavy calculation, synchronous blocking calls ( fs.readFileSync , bcrypt.hashSync ), or expensive JSON processing: ![In a flame chart, the …
- Go Concurrency: Goroutines, Channels and Context
… image resizing, hashing, compression Parallelism: about one goroutine per CPU core keeps them all busy Goroutines A goroutine …