Search
Lessons (27)
- Design a File Storage Service
Upload bytes directly to object storage while the API owns durable metadata, authorization, sharing and synchronization. , and can share a storage cupboard (volumes). They move in and out together . Most …
- Scaling, Load Balancing & Rate Limiting
… Keep sessions in Redis or in tokens, files in object storage (S3), and state in the database. Scaling …
- Frontend Security
XSS, CSRF, clickjacking, token storage, CORS and supply-chain risks, explained with pictures. What can go wrong in …
- Caching & Redis
… Treat it as a cache or as fast secondary storage, not as your only copy of critical data …
- Deployments, ReplicaSets & Rollouts
… Elasticsearch Stable names ( db-0 , db-1 ), stable storage per pod, ordered start/stop DaemonSet One pod on …
- Docker & Containers
… postgresql/data -e POSTGRES PASSWORD=secret postgres:17 Storage Use for --- --- Named volume Database files, anything persistent Bind …
- Authentication, Authorization & API Security
… JWT, OAuth 2.0 and OpenID Connect, password storage, and the OWASP risks every backend developer must know …
- CQRS & Event Sourcing
… Shape Normalised, enforces rules Denormalised, joined, pre-computed Storage Postgres (transactions) Elasticsearch (search), Redis (fast lookups), a reporting …
- Hexagonal Architecture (Ports & Adapters)
… external services you might swap (payment providers, email, storage), long-lived systems. ❌ Thin CRUD apps with almost no …
- Clean Architecture in Depth
… convert data between formats APIs, UI or storage formats change Use cases (and their ports) 🟣 Frameworks & drivers …