Search
Lessons (40)
- Providers and Your First AWS Resources
… Review provider release notes before upgrading a real project. bucket prefix lets the provider choose a unique name …
- NestJS Core Concepts
… MailModule, providers: [{ provide: "MAIL OPTIONS", useValue: options }, MailService], exports: [MailService], }; } } Hook Runs when --- --- onModuleInit The module's providers …
- Design a Reliable Notification System
… For unknown , look it up with the provider (or wait for their callback) before sending again. ❌ Wrong: "Provider …
- Environments, Workspaces, and Multiple Accounts
Separate development and production ownership, understand workspace limits, and configure provider aliases. Isolation has several layers Development and …
- Secrets, Ephemeral Values, and Least Privilege
Protect credentials and state, distinguish sensitive from ephemeral values, and use provider-supported write-only inputs. Protect the …
- The Hot SKU Alert Problem
… a provider timeout . We asked the email provider to send, and the call timed out. Maybe it sent …
- Reusable Modules and Clear Interfaces
… Child modules declare their required provider sources. Default provider configurations can be inherited; aliased configurations require explicit wiring …
- Prompting and Structured Outputs
Write clear instructions, provide context and examples, constrain responses, and validate model output in code. The big idea …
- HCL, Resource Addresses, and Project Layout
… A constraint describes acceptable releases; .terraform.lock.hcl records the selected provider versions and checksums. Use terraform init …
- Terraform: Start Here
… Terraform talks to services through providers . AWS, Azure, Google Cloud, Kubernetes, GitHub, and local files have providers. The …
- Design an E-Commerce Checkout
… Checkout calls the provider: "charge $80, key pay-812 ". 2. The provider charges the card. 3. The network …
- Your First Terraform Project
… Specific provider versions and features still need compatibility checks. This is a minimum for the examples, not a …
- Putting AI Systems into Production
… input validation, retrieval or context, provider calls, output checks, user experience, monitoring, and operational controls. The model is …
- Payment Retries: Prevent Duplicate Charges
… durable attempt, provider idempotency key, then recovery for an unknown result](/img/system-design-l6/payment-idempotency.svg …
- Resilient Service Calls: Retries, Breakers and Load Shedding
… Services need the same kind of walls. A slow payment provider, step by step Here is what checkout …
- Production Capstone and Interview Practice
… Keep the module's provider requirement; configure region and credentials in each root. Replace bucket prefix with var …
- Testing, Preconditions, and Policy Checks
… Mock providers can test configuration logic without real API calls, but mocks cannot demonstrate real provider behavior, IAM …
- Dependencies, Data Sources, and Resource Lifecycle
… this to a root configured with the AWS provider. Terraform creates the VPC before the subnet and destroys …
- Event-Driven Patterns, Step Functions and Reliable Lambdas
… For payment providers, pass an idempotency key they enforce and reconcile uncertain outcomes through their API. Expiring a …
- CI/CD and Reviewed Production Changes
… If providers cannot satisfy that lock file, fail the run rather than silently changing dependencies. Pin the CLI …
- Drift, Troubleshooting, and Disaster Recovery
… It may replace resources, lose data, or fail because the provider/API no longer supports old settings. Database …
- VPC Networking Without the Confusion
… For private apps to download updates, a NAT gateway can provide outbound internet access. It does not let …
- Backend Design Scenarios
… Use provider-specific rate limits, bounded worker concurrency, connection reuse, backoff with jitter and a dead-letter queue …
- Month 3: LLM Engineering (Weeks 9-12)
… Use the provider's native structured output or JSON schema mode, and validate with Pydantic . Never parse free …
- Count, for_each, Functions, and Stable Identities
… Those identifiers become part of the state address. hcl Keep the local provider configuration from lesson 2. variable …
- SSH, Networking & Firewalls
… Most VPS providers also offer a web console as a last resort. Networking basics you'll actually use …
- Imports, Moved Blocks, and Safe Refactoring
… make adoption reviewable through the plan/apply workflow. Provider docs define the import ID; different resource types use …
- React Hooks in Practice
… theme, setTheme] = useState("dark"); return ( <ThemeContext.Provider value={theme} <Page / </ThemeContext.Provider ); } function Button() { const theme = useContext(ThemeContext …
- Concurrency, Resilience & Distributed Workflows
… a webhook is delivered twice, a payment provider times out after charging the card, a queue grows faster …
- Domains, Load Balancers and HTTPS
… Publish the DNS validation record in the domain's DNS provider. 3. Wait for certificate issuance. 4. Add …
- Monitoring, Logs & Backups
… convenient, but on the same provider, so not your only backup A nightly PostgreSQL backup bash !/usr/bin …
- Storage Engines & Database Operations
… a bounded pool protects the primary while WAL, backups and replicas provide recoverability](/img/database/storage-operations.svg …
- Networking, DNS and Traffic Routing
… Why? Their browsers and internet providers remembered the old DNS answer and keep going to the dead region …
- Internals, Upgrades, Resilience and Interview Questions
… key On managed services (EKS, GKE, AKS) the provider runs the control plane; you back up workloads and …
- Serverless Architecture
… automatically Ops work Patching, scaling, monitoring hosts ✅ The provider handles it Cost at constant high load ✅ Often cheaper …
- Observability: Logs, Metrics & Traces
… 4999, provider: "stripe", traceId, err }, "Payment failed", ); json {"level":"error","time":"2026-09-28T03:12:45.120Z","event …
- Offers and Salary Negotiation
… the first review? Typical percent? Benefits Health insurance, provident fund, gratuity, lunch, transport Remote / hybrid Days in office …
- Safe AWS Deployments with IaC and CI/CD
… Tool Simple description --- --- Terraform Works across many cloud providers; stores state remotely CloudFormation AWS-native templates and stacks …
- C4 Architecture Diagrams: Context, Container, Component and Code
… Stripe, an email provider and a customer browser affect your system, but they are outside its ownership boundary …
- IAM: Who Can Do What
… people sign in, roles provide temporary access, and policies allow only needed actions. The one rule IAM decides …