Search

Lessons (28)

  • Pods

    … scheduled and containers started Running -- Succeeded: all containers exited 0 Running -- Failed: a container exited with an error …

  • Docker & Containers

    … Images, containers, Dockerfiles, layers, volumes, networks and Docker Compose, step by step. The big idea Before shipping containers …

  • Why Kubernetes?

    From one container on your laptop to hundreds across many servers. What problems Kubernetes solves, the idea of …

  • Kubernetes Cluster Architecture

    … The control plane (API server, etcd, scheduler, controllers) and the worker nodes (kubelet, container runtime, kube-proxy), and …

  • Scaling & Health Probes

    … registry.example.com/shop-api:1.9.0 ports: [{ containerPort: 3000 }] startupProbe: httpGet: { path: /health/live, port: 3000 …

  • ConfigMaps, Secrets & Storage

    … The guitar is the container image; the set list is the configuration. Build the image once, configure it …

  • Serverless Architecture

    … invest in structured logs, tracing (X-Ray / OpenTelemetry) Cost at sustained high load Containers or VMs can be …

  • Deployments, ReplicaSets & Rollouts

    … registry.example.com/shop-api:1.8.0 ports: [{ containerPort: 3000 }] resources: requests: { cpu: 250m, memory: 256Mi } limits …

  • Helm, kubectl Cheat Sheet & Best Practices

    … Release.Name }} spec: replicas: {{ .Values.replicaCount }} template: spec: containers: - name: api image: "{{ .Values.image.repository }}:{{ .Values.image.tag …

  • Normalization & Denormalization

    … atomic values, no repeating groups Rule: each cell contains one value; every row has a key; do not …

  • D — Dependency Inversion Principle

    … pass dependencies in)"] DI -- C["DI Container<br/ (tool: wires it automatically)"] Key takeaways - Business logic should depend …

  • How Browsers Render a Page

    … forces layout on every iteration for (const box of boxes) { box.style.width = container.offsetWidth / 2 + "px"; } // ✅ Read …

  • SQL vs NoSQL Databases

    … erDiagram CUSTOMER --o{ ORDER : places ORDER -- { ORDER ITEM : contains PRODUCT --o{ ORDER ITEM : "appears in" CUSTOMER { bigint id …

  • What Is Software Architecture?

    … 2. Container Apps, databases, queues inside the system Developers, ops 3. Component Main modules inside one container Developers …

  • Database Relations & Foreign Keys

    … an order belongs to one customer; an order contains many items; a student may take many courses. Good …

  • Stacks & Queues

    … depth-first and breadth-first search is the container: mermaid flowchart LR subgraph DFS["Stack → DFS: go deep …

  • Hash Maps & Sets

    … Pattern 1: "Have I seen it before?" → Set Contains duplicate? js function hasDuplicate(nums) { const seen = new Set …

  • Clean Architecture

    … architecture/ddd-strategic-design). The four layers Layer Contains Knows about Example --- --- --- --- 🟡 Entities (domain) Core business objects …

  • Monolith vs Microservices

    … can crash everything A failing service can be contained ✅ Simplicity ✅ One codebase, easy to debug ❌ Distributed system complexity …

  • Two Pointers & Sliding Window

    … at both ends, move inward Pair sum, palindrome, container with most water, reverse array Fast & slow → →→ Both start …

  • Graphs: BFS & DFS

    … 5 Airport)) BFS vs DFS BFS 🌊 DFS 🧭 --- --- --- Container Queue Stack / recursion Explores Level by level One branch …

  • MVC, MVP & MVVM

    … the component stays simple. (This is also the "container / presentational" split.) Comparison MVC MVP MVVM --- --- --- --- Middle piece Controller …

  • Services & Ingress

    … 3000 …forward to the container's port 3000 Kubernetes keeps an up-to-date list of matching, ready …

  • Onion Architecture & Clean vs Hexagonal vs Onion

    … rings around the domain model](/img/architecture/onion.svg) The rings Ring (inside → out) Contains Example --- --- --- 🟡 Domain …

  • Vertical Slice Architecture & the Modular Monolith

    … Vertical Slice Architecture The big idea A supermarket can be organised by type of container : all cans in …

  • Structural Patterns: How to Connect Objects

    … A folder can contain files and other folders , and you can ask any of them "what's your …

  • Domain-Driven Design: Tactical Patterns

    … via an outbox } } Domain service Application service --- --- --- Contains business rules? ✅ Yes ❌ No, only orchestration Knows about transactions, repositories …

  • Clean Architecture in Depth

    … This lesson goes deeper into ports, presenters, boundaries and mistakes. The four circles Circle Contains Changes when… Knows …