Search
Lessons (28)
- Layered (N-Tier) Architecture
The classic way to organise an application into presentation, business and data layers. How it works, its rules …
- Onion Architecture & Clean vs Hexagonal vs Onion
Jeffrey Palermo's Onion Architecture layer by layer, then a clear side-by-side comparison of Clean, Hexagonal …
- Clean Architecture
Organise an application in layers so business rules don't depend on frameworks, databases or the web. Follow …
- Networking, DNS and Traffic Routing
Understand the request path from OSI layers and DNS through load balancers, anycast and reverse proxies.  Architecture vs design vs code Level …
- Hexagonal Architecture (Ports & Adapters)
… Cockburn drew a hexagon to escape the "top-to-bottom layers" picture, and to show there are many …
- Finding Service Boundaries with DDD
… models with an anti-corruption layer. - Cut by business capability, not technical layer. Event storming helps find the …
- How Browsers Render a Page
… Composite Some elements get their own layers (for example, elements with transform or opacity animations, or will-change …
- Design a Logging and Monitoring Platform
… agents batch into an ingestion layer, durable streams feed hot search, metrics and cold archival](/img/system-design …
- Which Pattern Do I Need?
… HOCs, retry/cache/log wrappers 4. 🏨 Facade — service layers and SDKs 5. 📰 Observer — events everywhere, UI and backend …
- Scaling, Load Balancing & Rate Limiting
… same server Need stickiness or cache locality Layer 4 vs Layer 7 - L4 (transport): routes by IP and …
- Resilience Patterns
… If 3 layers each retry 3 times, one request becomes 27. 3. Circuit breaker ⭐ If a dependency keeps …
- Caching & Redis
… cache")] -- DB[(Database)] Every layer can answer the request and save all the layers behind it. Strategy 1 …
- Domain-Driven Design: Strategic Design
… vendor), and its model is acceptable Anti-Corruption Layer (ACL) Downstream translates the upstream model into its own …
- Domain-Driven Design: Tactical Patterns
… Use-case language ( PlaceOrderHandler ) Lives in Domain layer Application layer Domain events A domain event records something meaningful …
- Clean Architecture in Depth
… I/O, external services, time, randomness Every CRUD screen goes through 6 layers Slow development Keep simple reads …
- YAGNI: You Aren't Gonna Need It
… BaseAbstractManager<T classes Error handling and security Caching layer before measuring slowness Code that is easy to change …
- KISS: Keep It Simple, Stupid
… T -- Cost["💸 Every change costs more"] Every extra layer, abstraction or clever trick is something the next developer …
- How a Web Request Works
… Your server code Inside the server, a request typically passes through layers: mermaid flowchart LR R[Request] -- M …
- REST vs GraphQL vs gRPC
… gRPC between internal microservices, a GraphQL or BFF (Backend for Frontend) layer for their apps, and REST for …
- MVC, MVP & MVVM
… In a bigger app, they sit in the outer layer of Clean or Hexagonal architecture: mermaid flowchart LR …
- Helm, kubectl Cheat Sheet & Best Practices
… Kustomize (built into kubectl apply -k ) layers plain-YAML patches per environment instead of templates. Simpler for small …
- React Hooks in Practice
… skip prop drilling Passing a prop through 5 layers that don't use it ("prop drilling") is tedious …
- Frontend Testing Strategy
… most value comes from integration tests](/img/frontend/testing-trophy.svg) Layer Tests Tools Speed Confidence --- --- --- --- --- Static Types …