Search

Lessons (14)

  • Releases, Observability and Production Safety

    Ship changes safely with rollout strategy, flags, migration discipline, rollback plans and observable service-level outcomes. ![Safe release …

  • Behavioral Patterns I: Observer, Strategy, Command, State

    … In State the object switches itself as its state changes. --- Cheat sheet Pattern One-liner Everyday example --- --- --- Observer …

  • Observability: Logs, Metrics & Traces

    When production breaks at 3 a.m., observability tells you what, where and why. Learn the three pillars …

  • Which Pattern Do I Need?

    … Builder creates step by step . Observer vs Mediator Observer broadcasts one-to-many. Mediator coordinates many-to-many …

  • What Are Design Patterns?

    … proven solutions with names, so developers can say "let's use an Observer here" instead of explaining 50 …

  • Architecture Patterns at Scale

    … Serverless Bursty event-driven work Cold starts, limits, observability Event-driven Decoupled side effects Ordering, replay, eventual consistency …

  • System Design Interview Framework

    … 7. Close with failure modes, observability, cost and evolution. State assumptions aloud. Keep the first design simple, name …

  • Real-Time, Pub/Sub, Webhooks and CDC

    Choose the right push or event mechanism and keep event delivery observable, idempotent and replayable. ![Event patterns: an …

  • Time, Consistency and Distributed Transactions

    … clocks order observations, fencing protects ownership, and sagas compensate cross-service work](/img/system-design-l6/time-transactions …

  • Deploying & Operating Microservices

    … latency, traffic, errors, saturation. - Correlate everything in one place (Grafana, Datadog, Honeycomb). (See Backend → Observability for the details …

  • MVC, MVP & MVVM

    … Model–View–ViewModel The ViewModel exposes observable state and commands . The View binds to them, so when the …

  • Why Kubernetes?

    … API[Kubernetes API] API -- Loop{{"🔁 Control loop<br/ observe → compare → act"}} Loop -- "actual: 2 running<br/ desired: 3 …

  • API Gateway, BFF & Service Discovery

    … outside, gRPC inside Caching Cache public GET responses Observability Access logs, metrics, start a trace ID Canary routing …

  • Serverless Architecture

    … Harder; use emulators (SAM, LocalStack) and good tracing Observability Many small pieces: invest in structured logs, tracing (X …