Search
Lessons (28)
- Cost Optimization and the Well-Architected Framework
… check Performance Insights before upsizing. Quick wins by service EC2 and containers - Right-size using Compute Optimizer; move …
- Product-Scale Frontend Patterns
Design optimistic workflows, feature flags, offline behavior, multi-tenant presentation and role-aware UI without treating the browser …
- Neural Networks and Deep Learning
… An optimizer updates parameters, often using a form of gradient descent. If the learning rate is too high …
- Month 2: Deep Learning, PyTorch and Transformers (Weeks 5-8)
… use the chain rule to compute how much each weight contributed to the error. Optimizer : update the weights …
- Frontend Performance & Core Web Vitals
… Understand LCP, INP and CLS, then apply the proven fixes, from image optimisation and code splitting to caching …
- Code Profiling
Find the code that is actually slow or retaining memory before you optimise. Learn a repeatable profiling workflow …
- 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 …
- Database Indexing & Transactions
… version numbers (optimistic locking) No locks. Each row has a version ; an update only succeeds if nobody changed …
- Python and Math Foundations with Runnable Examples
… measured in very different units can make some optimization methods harder to use. Standardization transforms a value using …
- Machine Learning Fundamentals
… Repeatedly tuning against the test set leaks information and makes its score too optimistic. text all labeled examples …
- Scalable Frontend Architecture
… state distinct. - Centralize transport and validation at an API boundary. - Optimize for clear ownership before adding architectural machinery.
- KISS: Keep It Simple, Stupid
… harder to read than five clear lines. - Premature optimisation. Making code "fast" before measuring usually just makes it …
- What to Learn in AI, and in What Order
… averages and variance, derivatives, and the idea of optimization. Build intuition with examples; you rarely need advanced proofs …
- Indexes, EXPLAIN & Query Plans
… How do you investigate and optimize a slow SQL query? "First I find which query is actually slow …
- DynamoDB Modeling, RDS Scaling and Data Resilience
… nothing across up to 100 items Conditional writes Optimistic locking: attribute not exists(PK) DAX In-memory cache …
- Dynamic Programming
… 2. Optimal substructure: the best answer can be built from the best answers to smaller questions. Two ways …
- Kafka vs RabbitMQ & the Kafka Ecosystem
… Typical latency Very low for individual messages Low, optimised for throughput Operational weight Lighter Heavier (but managed services …
- Concurrency, Resilience & Distributed Workflows
… FOR UPDATE (pessimistic locking) or a version column (optimistic locking). Keep transactions short, never call an external service …
- AI Architect Reference: Decisions, Glossary, Resources and Career
… GPU serving, Kubernetes, cost optimization at scale. 2. Agents and automation : complex multi-agent systems, voice agents, computer …
- Rust: Ownership, Borrowing and Lifetimes
… run build and run (debug) cargo build --release optimised build cargo test unit + integration tests cargo add serde …
- Design a Social Media Feed
… a view built from posts, optimized for fast reading. It can be rebuilt. It's fine for a …
- Month 5: AI Agents and Tool Orchestration (Weeks 17-20)
… prompt chaining, routing, parallel fan-out, orchestrator-workers, and evaluator-optimizer (one call writes, another critiques). - Stopping conditions …
- Month 3: LLM Engineering (Weeks 9-12)
… further training on question and answer examples so it behaves like an assistant. - Preference optimization (RLHF, DPO) : humans …
- Backend Design Scenarios
… Shard when the primary cannot handle the write rate, storage, I/O or connection count even after optimization …
- 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
… Your app applies the edit to your own screen immediately (this is called optimistic : assume it will succeed …
- Kafka for Backend Services
… CQRS read models Consume events to build query-optimized views (search index, dashboards) [CQRS & Event Sourcing](/learn/microservices …