Search
Lessons (40)
- Capacity, Availability, Latency and CAP
… Set targets per action, not for the whole site ❌ Wrong: "The site has 99.9% availability and 200 …
- Flash Sale: 10 Million Buyers, No Oversell
… But: ❌ Wrong: a timer that just runs available = available + 1 . If it fires late, it may return a …
- Design a Ride-Sharing Service
… Both get the same answer: Driver Dee is available, 200 m away. 3. But Dee's location is …
- Concurrency, Resilience & Distributed Workflows
… Prefer an atomic database statement or a transaction that owns the invariant: sql UPDATE inventory SET available = available …
- Nginx Reverse Proxy & HTTPS
… nginx" Path Purpose --- --- /etc/nginx/nginx.conf Main config (rarely edited) /etc/nginx/sites-available/ One file per …
- Design an E-Commerce Checkout
… the last concert ticket sql UPDATE inventory SET available = available - 1 WHERE item id = 'ticket-A1' AND available …
- AWS Interview Questions: Clear Answers
… I use multiple AZs for availability, while keeping related resources in the same Region to reduce latency and …
- Brokers, Replication & Durability
… more available, but it can lose data . Keep it false for important topics.) The controller and KRaft One …
- ACID, Transactions & Locks
… UPDATE inventory SET available = available - 1 WHERE sku = :sku AND available 0; If zero rows change, inventory was …
- Data Preparation and Model Training
… will arrive late.” This clarifies which information is available and how to create the label. Check for missing …
- What Is Software Architecture?
… it grow? Handle 10× traffic on Black Friday Availability Is it up? 99.9% uptime Maintainability Is it …
- VPC Networking Without the Confusion
… A subnet is a smaller section of that network, placed in one Availability Zone. mermaid flowchart LR I …
- AWS: Start Here
… Running app copies in two AZs helps during an AZ failure, but a single database without an availability …
- Monitoring, Logs & Backups
… database crashes, logs stop, deploys fail Memory free -h Swap growing, available < 10% The kernel's OOM killer …
- Service Communication: Sync vs Async
… Latencies add up, and failures cascade. Availability multiplies If each service is available 99.9% of the time …
- SQL vs NoSQL Databases
… MongoDB, etcd, HBase"] P -- A["Choose Availability (AP)<br/ answer with possibly stale data<br/ e.g. Cassandra …
- Resilience, Disaster Recovery and Multi-Region Design
… Crash, bad deploy Auto Scaling, health checks, rollback Availability Zone Power or network loss in one data centre …
- DynamoDB Modeling, RDS Scaling and Data Resilience
… sync .- S[(Multi-AZ standby)] Multi-AZ is for availability - RDS Multi-AZ keeps a synchronous standby in …
- Health Checks and Scaling
… Database availability usually belongs in readiness: stop traffic, but do not restart every app pod pointlessly. A safe …
- Containers at Scale: ECS Deep Dive and EKS
… inspect scheduling events, resource requests, node capacity, availability-zone constraints, and available subnet addresses. Requests guide placement; limits …
- AI Agents and Tool Use
… Goal and available tools M-- A: Proposed tool call A- A: Validate permissions and arguments A- T: Execute …
- Preparing for Technical Interview Rounds
… career/offer-and-salary-negotiation)). - Notice period and availability. Coding interview 1. Learn the patterns, not 500 random …
- Best Sites to Find Job Opportunities
… zone overlap in your resume summary, for example "Available 4 hours overlap with EU/US East". Freelance and …
- Neural Networks and Deep Learning
… and text, especially when a pretrained model is available. For smaller structured tables, simpler tree-based or linear …
- AWS Databases: Choose the Right One
… These require different fixes. Availability and read scale are distinct A traditional Multi-AZ DB instance deployment has …
- Architecture Patterns at Scale
… load: how many pages per week? 4. Checkout availability: did it go up? Success is a measurable improvement …
- React Internals & Concurrent Rendering
… slow recommendation panel does not hide an already-available order summary. Provide loading, error and empty states for …
- Your Practical Kubernetes Workflow
… two replicas for a customer-facing app when availability matters. Your first production-ready checklist - [ ] Deployment with the …
- State, Remote Backends, and Locking
… true use lockfile = true } } Native S3 locking is available in Terraform 1.10 and later. The course's …
- Machine Learning Fundamentals
… 3.0} predicted minutes = model.predict(features) The prediction is useful only if the input fields are available …
- Deploy a Node.js App to a VPS, Step by Step
… Nginx in front bash sudo tee /etc/nginx/sites-available/myapp /dev/null <<'EOF' server { listen 80; server …
- Scalable Frontend Architecture
… into a global store just to make it available. Fetch it through a cached query close to its …
- Storage, Search and Location Queries
… But checkout always checks price and availability against the main database. Nobody should pay last week's price …
- Drift, Troubleshooting, and Disaster Recovery
… Compare cloud inventory, resource addresses, and available backend versions. 4. Restore or repair through a reviewed recovery procedure …
- Kubernetes: Start Here
… It needs three running copies so the site stays available. Without Kubernetes, someone must notice when a container …
- Kubernetes Cluster Architecture, Simply
… server. bash kubectl get nodes What servers are available? kubectl get pods -A What pods exist in all …
- Capacity Planning, SLOs and Error Budgets
… Also keep the two kinds of availability apart: - Time-based: "what fraction of minutes was the service working …
- Jenkins: From Install to Your First Pipeline
… Useful extra plugins ( Manage Jenkins → Plugins → Available ): Plugin Why --- --- Pipeline (suggested) Jenkinsfile support GitHub Branch Source / GitLab Branch …
- Running Kafka in Production: The DevOps View
… one machine can fail without losing data or availability. A 3-broker cluster with Docker Compose Good for …
- Scaling, Load Balancing & Rate Limiting
… fails? Production deployments usually make the balancer highly available across zones. Use health checks, multiple balancer nodes or …