Search

Lessons (12)

  • Design a Logging and Monitoring Platform

    Ingest high-volume telemetry reliably, separate hot search from cheap retention, and make alerting useful rather than noisy …

  • Design a Social Media Feed

    … is not acceptable to lose the original post. Monitor fan-out lag, feed freshness, cache hit rate and …

  • Networking, DNS and Traffic Routing

    … by host/path, terminate TLS and apply policies. Monitor DNS TTL/propagation, edge health, connection errors, regional latency …

  • Replication, Partitioning & Sharding

    … or a product experience that explicitly accepts delay. Monitor replica lag and promote only a safe, current replica …

  • What Is Apache Kafka?

    … everything talks to everything"] A1[Web app] -- D1[(DB)] & S1[Search] & AN1[Analytics] & M1[Monitoring] A2[Mobile API …

  • Monolith vs Microservices

    … CI/CD, monitoring, tracing, orchestration The hidden costs ("the distributed systems tax") The 8 fallacies of distributed computing …

  • ACID, Transactions & Locks

    … Keep transactions short, access tables in a consistent order, avoid network calls inside them, and monitor lock-wait …

  • Consumers & Consumer Groups

    … with error details in headers, then move on. - Monitor the DLT and replay messages after fixing the bug …

  • Deployments, ReplicaSets & Rollouts

    … log collectors, monitoring agents, CNI Adds a pod when a node joins Job Run to completion once: migrations …

  • REST API Design

    … Clients, caches and monitoring tools all rely on the status code. Rule 3: Consistent error format Pick one …

  • Serverless Architecture

    … capacity ahead ✅ Scales automatically Ops work Patching, scaling, monitoring hosts ✅ The provider handles it Cost at constant high …

  • Hexagonal Architecture (Ports & Adapters)

    … The console doesn't care whether you plug in a 4K TV or an old monitor, a wired …