Search
Lessons (40)
- What Are Design Patterns?
Design patterns are named, reusable solutions to problems that keep coming up in software design. Meet the three …
- Which Pattern Do I Need?
A problem-first guide for picking the right design pattern, telling look-alike patterns apart, and spotting when …
- DSA Interview Patterns Cheat Sheet
… Interviews test whether you can recognise the pattern from the wording, then apply its template. Pick a technique …
- Product-Scale Frontend Patterns
Design optimistic workflows, feature flags, offline behavior, multi-tenant presentation and role-aware UI without treating the browser …
- Creational Patterns: How to Make Objects
… Creational patterns hide the "how" of creating objects , so the rest of the code only asks for what …
- Behavioral Patterns I: Observer, Strategy, Command, State
The four behavioral patterns you'll use most, explained with everyday analogies, diagrams and practical JavaScript. Why behavioral …
- Data in Microservices: Sagas & the Outbox Pattern
… So microservices accept eventual consistency and use sagas. The saga pattern A saga is a series of local …
- Structural Patterns: How to Connect Objects
… How to plug incompatible pieces together and build big structures from small ones. Why structural patterns? Structural patterns …
- Event-Driven Patterns, Step Functions and Reliable Lambdas
… your chosen operation. Choose the right glue Service Pattern Use when --- --- --- SQS Queue, one consumer group Buffering work …
- Architecture Patterns at Scale
… name a real pain, measure it, and check it improved. </details --- Going deeper  1. Timeouts: never wait forever …
- Domain-Driven Design: Tactical Patterns
… small, immutable, self-validating ⭐ Value objects are the easiest tactical pattern to adopt, and remove a huge class …
- Hash Maps & Sets
… Learn how hashing gives O(1) lookups, how collisions are handled, and the patterns (counting, seen-set, grouping …
- Preparing for Technical Interview Rounds
… Learn the patterns, not 500 random problems: two pointers, sliding window, hash map, BFS/DFS, binary search, heap …
- Event-Driven Architecture
… Broker vs mediator topologies, the four kinds of event patterns, event design, and the real trade-offs. The …
- DynamoDB Modeling, RDS Scaling and Data Resilience
Design DynamoDB tables around access patterns, then scale and protect relational databases with replicas, proxies and Multi-AZ …
- AWS Databases: Choose the Right One
… You design from the access pattern first: “get order by order ID” or “list a customer’s orders …
- MVC, MVP & MVVM
Three patterns for separating what the user sees from the data and logic behind it. How each works …
- What Is Artificial Intelligence? A Developer's Guide
… Alternatively, collect messages labeled spam or legitimate and train a model to recognize patterns. The resulting spam detector …
- AWS Messaging: Queues, Topics and Events
… These patterns solve different needs. Broadcasting to two consumers is not the same as adding two workers to …
- Machine Learning Fundamentals
… an algorithm fits a model that captures useful patterns. mermaid flowchart LR D[Examples] -- A[Learning algorithm] A …
- Containers at Scale: ECS Deep Dive and EKS
Deploy ECS safely, scale it properly, compare it with EKS, and apply the production patterns for each. ECS …
- Concurrency, Resilience & Distributed Workflows
… CQRS and event sourcing are useful specialized patterns, not defaults; learn them in [Data in Microservices: Sagas & the …
- DRY: Don't Repeat Yourself
… email.js const EMAIL PATTERN = /^[^@\s]+@[^@\s]+\.[^@\s]+$/; export const isValidEmail = (email) = EMAIL PATTERN.test(email); // everywhere else …
- Rust: Types, Errors and Concurrency
… structs and enums with pattern matching, Option and Result with the ? operator, traits and generics, iterators and closures …
- Kafka for Backend Services
… The patterns below are the same in every client: Java (Spring Kafka), Go (franz-go, confluent-kafka-go …
- Resilient Service Calls: Retries, Breakers and Load Shedding
… Mark it "processing" and reconcile later. Apply the patterns in the right order 1. Pass one end-to …
- Heaps & Priority Queues
… For objects: (a, b) = a.priority - b.priority . Pattern: Top K ⭐ "Find the k largest numbers in a …
- Real-Time, Pub/Sub, Webhooks and CDC
… event ID catches repeats, version number catches out-of-order arrivals. </details --- Going deeper ![Event patterns: an event …
- What Is Software Architecture?
… High Design How is one part organised? Classes, patterns (Strategy, Repository), module APIs 🟡 Medium Code How is …
- CQRS & Event Sourcing
… Powerful patterns, explained simply, with honest trade-offs. Part 1: CQRS The big idea A restaurant kitchen and …
- Month 1: Data, Math Intuition and Classic ML (Weeks 1-4)
… no labels; the model finds groups or patterns, such as clusters of similar properties. - Classification predicts a category …
- Transformers and Large Language Models
… by training. Training stages - Pretraining: learn broad statistical patterns from a large corpus, often through next-token prediction …
- OOP Mistakes and Interview Questions
… That's used in the Singleton pattern and for static factory methods like Temperature.fromFahrenheit(212) . </details Key …
- Indexes, EXPLAIN & Query Plans
Design indexes from real filter, join and sort patterns, then prove improvements with query plans and production-like …
- Domain-Driven Design: Strategic Design
… Domains and subdomains, ubiquitous language, bounded contexts, all the context-mapping patterns, and event storming to discover them …
- Secrets, Ephemeral Values, and Least Privilege
… Check the exact resource schema and provider release before using this pattern. Terraform cannot compare old and new …
- Extending Kubernetes: CRDs, Operators and Admission
… control loops Everything in Kubernetes follows the same pattern: a controller watches the desired state , compares it with …
- Pods: Where Your App Actually Runs
… Two unrelated services should normally be separate Deployments. Two helper patterns Sidecar: a helper that runs beside the …