Search

Lessons (12)

  • Design a File Storage Service

    Upload bytes directly to object storage while the API owns durable metadata, authorization, sharing and synchronization. ![File storage …

  • Storage Engines & Database Operations

    … Know your recovery point objective (how much data loss is acceptable) and recovery time objective (how long restoration …

  • ConfigMaps, Secrets & Storage

    … Safer for important data. 💡 For uploads and user files, object storage (S3, GCS, Azure Blob) accessed through its …

  • Design a Social Media Feed

    Build a fast home feed with fan-out choices, durable post storage, eventual consistency and safeguards for celebrity …

  • Why Kubernetes?

    … Configuration and sensitive values Config & Storage PersistentVolume Storage that outlives pods Config & Storage HPA Autoscaling pods based on …

  • L — Liskov Substitution Principle

    … LSP (Barbara Liskov, 1987): Objects of a subtype must be replaceable for objects of the parent type without …

  • Scaling, Load Balancing & Rate Limiting

    … Keep sessions in Redis or in tokens, files in object storage (S3), and state in the database. Scaling …

  • Deployments, ReplicaSets & Rollouts

    … how objects find each other Labels are key/value tags on objects. Selectors pick objects by label. This …

  • Caching & Redis

    … Treat it as a cache or as fast secondary storage, not as your only copy of critical data …

  • Docker & Containers

    … a running instance of an image (like an object). You can run many from one image. - Registry: where …

  • Authentication, Authorization & API Security

    … JWT, OAuth 2.0 and OpenID Connect, password storage, and the OWASP risks every backend developer must know …

  • Clean Architecture in Depth

    … convert data between formats APIs, UI or storage formats change Use cases (and their ports) 🟣 Frameworks & drivers …