Search
Lessons (40)
- Layered (N-Tier) Architecture
The classic way to organise an application into presentation, business and data layers. How it works, its rules …
- Neural Networks and Deep Learning
Understand layers, activations, loss, gradient descent, embeddings, and when deep learning is a good fit. The big idea …
- 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 …
- Resilient Service Calls: Retries, Breakers and Load Shedding
… Retries multiply across layers (3 layers × 3 tries = 27). - 🔑 Only retry safe actions , and reuse the same idempotency …
- Vertical Slice Architecture & the Modular Monolith
Organise code by feature instead of by technical layer, and split a monolith into well-bounded modules that …
- Month 2: Deep Learning, PyTorch and Transformers (Weeks 5-8)
… A layer is many neurons side by side. A network stacks layers. - Activation functions add non-linearity so …
- Choosing an Architecture
… Six layers of pass-through code for simple CRUD Over-engineering; use slices or simple layers there "Nobody …
- Docker & Containers
… Images, containers, Dockerfiles, layers, volumes, networks and Docker Compose, step by step. The big idea Before shipping containers …
- What Is Software Architecture?
… foundations and structure vs furniture and paint](/img/architecture/house-layers.svg) 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 …
- Linux Troubleshooting Playbook & Interview Questions
A calm, layer-by-layer method for 'the site is down', fixes for the most common production problems …
- Finding Service Boundaries with DDD
… models with an anti-corruption layer. - Cut by business capability, not technical layer. Event storming helps find the …
- Big Data: ETL, Warehouses and Streaming
… A batch layer computes the correct, complete answer slowly. A speed layer gives quick, approximate answers for the …
- Networking, DNS and Traffic Routing
… You don't need all seven; think of it as a map for "where is the problem?" Layer …
- Scaling, Load Balancing & Rate Limiting
… Measure latency and queueing before changing algorithms. L4 versus L7 Layer 4: connection-level balancing An L4 balancer …
- Edge, Platform & Frontend Delivery
… A[API and data services] Use the closest layer that can safely answer the request. Static public assets …
- How Browsers Render a Page
… Composite Some elements get their own layers (for example, elements with transform or opacity animations, or will-change …
- Go Web Services with Gin
… net/http basics, Gin routes and groups, binding and validating JSON, middleware, a layered project structure, handler tests …
- Transformers and Large Language Models
… Modern models stack attention and feed-forward layers, with learned parameters shaped by training. Training stages - Pretraining: learn …
- Which Pattern Do I Need?
… HOCs, retry/cache/log wrappers 4. 🏨 Facade — service layers and SDKs 5. 📰 Observer — events everywhere, UI and backend …
- SSH, Networking & Firewalls
… You protect it in three layers: 1. A key instead of a password: SSH keys are practically impossible …
- Docker in Production on a Single Server
… often 150 MB instead of 1 GB Copy package .json first, then npm ci Docker caches that layer …
- 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 …
- Cross-Service Data: How to Join Without a Database JOIN
… Otherwise the composition layer creates a cross-service N+1 query problem. Option 2: Replicate the small piece …
- AI Evaluation, Safety, and Security
… and generated output as untrusted. - Minimize sensitive data and use layered controls with human oversight appropriate to risk.
- Environments, Workspaces, and Multiple Accounts
Separate development and production ownership, understand workspace limits, and configure provider aliases. Isolation has several layers Development and …
- Go Fundamentals
… adding context without losing the cause Each layer adds context with %w , which wraps the original error inside …
- Month 6: Reliability, Security, Fine-Tuning and Production (Weeks 21-24)
… An injection classifier as an extra layer, never the only one. - Data leakage : system prompts, other tenants' data …
- 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 …
- Scalable Frontend Architecture
… Keep browser secrets out of this layer; use server-side routes or a backend-for-frontend when credentials …
- Clean Architecture in Depth
… I/O, external services, time, randomness Every CRUD screen goes through 6 layers Slow development Keep simple reads …
- Flash Sale: 10 Million Buyers, No Oversell
… Here's how each layer helps without pretending to be the truth: Layer Job --- --- CDN, rate limit, waiting …
- Premiere-Night Video Streaming
… Behind the edges sit regional shields (a middle layer of caches that edges ask before bothering the origin …
- Drift, Troubleshooting, and Disaster Recovery
Diagnose common failures, recover after partial applies, and operate state without destructive guesswork. Start with the failing layer …
- 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 …
- Python and Math Foundations with Runnable Examples
… in AI Practice --- --- --- Vectors and matrices Features, embeddings, layer operations Dot products and shapes Probability Uncertainty and distributions …