Search
Lessons (15)
- Cost Optimization and the Well-Architected Framework
… for unexpected spikes Cost allocation tags Attribute cost to teams, products and environments Compute Optimizer Right-sizing recommendations …
- Big Data: ETL, Warehouses and Streaming
… Create curated datasets with event-time handling and deduplication, then load warehouse models optimized for reporting. 3. Use …
- Code Profiling
… optimisation is only useful when it improves a user-facing outcome: a faster request, smoother interaction, lower cost …
- Database Indexing & Transactions
… reads every row Seq Scan on users (cost=0.00..18334.00 rows=1) (actual time=0.03 …
- DSA Interview Patterns Cheat Sheet
… 4. Optimise: "The bottleneck is the inner search… a hash map makes that O(1)." Name the pattern …
- CQRS & Event Sourcing
… CQRS The big idea A restaurant kitchen and its menu board are optimised for different jobs. The kitchen …
- Machine Learning Fundamentals
… Repeatedly tuning against the test set leaks information and makes its score too optimistic. text all labeled examples …
- KISS: Keep It Simple, Stupid
… 10 }; const DEFAULT SHIPPING COST = 20; const getShippingCost = (country) = SHIPPING COST[country] ?? DEFAULT SHIPPING COST; KISS in architecture …
- Scalable Frontend Architecture
… introduce shared-runtime, routing, visual-consistency and observability costs. They are not a cure for a poorly separated …
- What to Learn in AI, and in What Order
… 6. Reliable delivery: Evaluate quality, protect data, address abuse and prompt injection, manage latency and cost, and monitor …
- L6 Production Debugging Casebook
… An added index makes a query slower An index changes the optimizer's choices; it does not guarantee …
- Rust: Ownership, Borrowing and Lifetimes
… safe but with runtime cost). Rust has a third way: the compiler proves at compile time when memory …
- Caching & Redis
… A lock is an optimization, not a reason to make the database unavailable. 4. Caching errors and empty …
- Collaborative Document Editing & Real-Time Sync
… The client applies the edit optimistically to local state, so typing has zero latency. 2. It sends {clientId …
- Backend Design Scenarios
… Shard when the primary cannot handle the write rate, storage, I/O or connection count even after optimization …