Search
Lessons (17)
- API Contracts, Gateways and Security
Make APIs evolvable and safe with explicit formats, versioning, idempotency, gateway policy, authentication and authorization.  Without vs with a gateway mermaid flowchart …
- Services & Ingress
… public-gateway }] hostnames: ["api.shop.example.com"] rules: - matches: [{ path: { type: PathPrefix, value: /orders } }] backendRefs: - { name: orders-api …
- Which Pattern Do I Need?
… Pub/Sub, Kafka topics, event-driven architecture Facade API Gateway, Backend for Frontend Proxy Reverse proxy, CDN, service …
- Resilience Patterns
… Without it, one slow service causes a cascading failure : mermaid flowchart LR U[👥 Users] -- G[Gateway] -- O[Orders …
- How a Web Request Works
… Charging a card twice… is not idempotent! (See REST API Design .) Status codes by family Range Meaning Common …
- Serverless Architecture
… static frontend"] U -- APIG[API Gateway] APIG -- Auth["🔐 Cognito / Auth0"] APIG -- L1["λ orders API"] L1 -- DDB[(DynamoDB …
- Onion Architecture & Clean vs Hexagonal vs Onion
… infrastructure, UI, tests Implementations of the interfaces, web framework, DB, external APIs SqlOrderRepository , controllers, EF Core / Prisma mermaid …
- Observability: Logs, Metrics & Traces
… GET /checkout (total 820 ms) dateFormat x axisFormat %L section api-gateway gateway :0, 820 section orders-svc …
- KISS: Keep It Simple, Stupid
… Complex["❌ 3 users, day one"] direction LR GW[API Gateway] -- MS1[User service] & MS2[Auth service] & MS3[Profile …
- Clean Architecture
… new SendGridEmailSender(apiKey), }); app.post("/users", userController(registerUser)); Why bother? Testing becomes trivial Because the use case only …
- Monolith vs Microservices
… many deployables"] direction LR GW[API Gateway] -- US[Users svc] -- UDB[(users DB)] GW -- OS[Orders svc] -- ODB …
- Deploying & Operating Microservices
CI/CD per service, blue-green and canary releases, feature flags, API versioning, distributed tracing and the production …
- Data in Microservices: Sagas & the Outbox Pattern
… Options: Approach How Trade-off --- --- --- API composition A BFF/gateway calls each service and joins in memory Simple …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
… Redux store between components, an event bus, an API gateway, an orchestrator in a microservice saga. --- 5. Memento …
- Structural Patterns: How to Connect Objects
… balance = 50 ✅ You've used it: Vue 3 reactivity (built on Proxy ), MobX, API gateways, CDNs (a caching …
- Clean Architecture in Depth
… interfaces 🔵 Interface adapters Controllers, presenters, gateways, repositories: convert data between formats APIs, UI or storage formats change Use …