Search

Lessons (26)

  • Design a Ride-Sharing Service

    … Watch stale-location age, match latency, conflicts and regional imbalance.

  • Indexes, EXPLAIN & Query Plans

    … most rows still match. - Wrapping an indexed column in a function without a matching expression index. - Forgetting the …

  • Services & Ingress

    … podSelector: { matchLabels: { app: payments-db } } policyTypes: [Ingress] ingress: - from: - podSelector: { matchLabels: { app: payments-api } } ports: [{ port: 5432 }] Debugging …

  • Creational Patterns: How to Make Objects

    … Abstract Factory 🛋️ Analogy: A furniture store sells matching collections : a Modern chair + Modern sofa + Modern table, or …

  • Why Kubernetes?

    … scheduling, self-healing, scaling, rollouts and discovery. - You declare desired state in YAML; control loops keep reality matching …

  • Stacks & Queues

    … undo, call stack, bracket matching, DFS, monotonic-stack problems. - Queues: task scheduling, message brokers, the event loop, BFS.

  • Replication, Partitioning & Sharding

    … Choose a partition key that matches retention and common filters. Too many tiny partitions add planning and operational …

  • N+1 Queries, Loading & Pagination

    … DESC LIMIT 50 Support it with an index matching the filter and sort, such as orders(customer id …

  • Deployments, ReplicaSets & Rollouts

    … This loose matching is how Deployments find their pods and Services find their endpoints. mermaid flowchart LR D …

  • Message Queues & RabbitMQ

    … type Routing rule Example --- --- --- Direct Exact routing key match "pdf" → pdf-queue Topic Wildcards: = one word, = zero or …

  • ACID, Transactions & Locks

    … transaction Repeatable read or explicit lock Phantom New matching row appears in a range Serializable isolation/predicate protection …

  • Scaling & Health Probes

    … ScheduleAnyway labelSelector: { matchLabels: { app: shop-api } } Key takeaways - Liveness restarts stuck containers; readiness removes pods from traffic; startup …

  • Helm, kubectl Cheat Sheet & Best Practices

    … make the cluster match git" K8s[☸️ Cluster] Argo -.- drift detected → auto-fix K8s ✅ Every change is reviewed and …

  • Choosing an Architecture

    … Compare every style in this course on one page, match them to your team, domain and scale, see …

  • Dynamic Programming

    … 1] ? dp[i - 1][j - 1] + 1 // chars match: extend the diagonal : Math.max(dp[i - 1][j …

  • What Are Design Patterns?

    … repeated pain C[Pick the matching pattern] C -- D[Refactor toward it] D -- A Patterns in modern JavaScript …

  • Which Pattern Do I Need?

    … too<br/ many parameters"] -- B[Builder] P3["Need matching families<br/ (themes, providers)"] -- AF[Abstract Factory] P4["3rd …

  • Meaningful Names

    … Length should match scope mermaid flowchart LR S["Tiny scope<br/ (3-line loop)"] -- short name ok s1 …

  • Kubernetes Cluster Architecture

    … can't fit it<br/ or don't match rules"] F -- S["2️⃣ Score<br/ rank the rest …

  • React Fundamentals

    … DOM node, update only the changed attributes. - Lists → match children by key . Handling forms jsx function SignupForm({ onSubmit …

  • Binary Search

    … When you find a match, don't stop: record it and keep searching left . js function firstIndexOf(sorted …

  • DSA Interview Patterns Cheat Sheet

    … yes HM[Hash map / Set] G -- no ST{Matching pairs, next greater,<br/ undo, nesting?} ST -- yes STK …

  • Microkernel (Plugin) Architecture

    … vite.config.ts → plugins: [react()] Convention Load everything matching a naming pattern or folder eslint-plugin- , a plugins …

  • Database Indexing & Transactions

    … row; with one it jumps straight to the match](/img/backend/index-scan.svg) No index (full table …

  • Frontend Performance & Core Web Vitals

    … swap with a well-matched fallback font (Next.js next/font does this). - Don't insert content above …

  • Structural Patterns: How to Connect Objects

    … to use a class whose interface doesn't match what your code expects (typically a 3rd-party library …