Search
Lessons (40)
- Big-O Notation Made Simple
Big-O describes how an algorithm's time or memory grows as the input grows. Learn the 7 …
- SQL vs NoSQL Databases
… places ORDER -- { ORDER ITEM : contains PRODUCT --o{ ORDER ITEM : "appears in" CUSTOMER { bigint id PK text email text …
- Big Data: ETL, Warehouses and Streaming
… the original big batch idea Say you want "total sales per store" over 10 billion rows. One machine …
- Arrays & Strings
… when full, the engine allocates a bigger block (often 2×) and copies everything over. That copy is O …
- Heaps & Priority Queues
… or removes items in O(log n). The engine behind "top K" problems, schedulers and Dijkstra. The big …
- Stacks & Queues
… Fine for small arrays; slow for big queues. An O(1) queue js class Queue { items = new Map …
- Choosing an Architecture
… Watch out for --- --- --- --- Monolith One deployable Early products, small teams Turning into a big ball of mud Modular …
- React vs Vue vs Angular
… comparison of reactivity, templates, state and tooling, and a simple way to choose between them. The big idea …
- Dynamic Programming
DP means solving a big problem by remembering the answers to its smaller overlapping sub-problems. A friendly …
- React Fundamentals
… small, reusable bricks ( components ) snap together into bigger ones, and the bigger ones form the whole page. And …
- Linux Command-Line Essentials
… On any Linux machine (or WSL on Windows, or a free cloud VM): 1. Find the five biggest …
- What Is Software Architecture?
Architecture is the set of big decisions that are expensive to change later. Learn quality attributes, trade-offs …
- Sorting Algorithms
… That matters when you sort by several keys. The simple O(n²) sorts Bubble sort: big items "bubble …
- Design a File Storage Service
Let big files go straight to cheap file storage, while your own server keeps track of who owns …
- Vertical Slice Architecture & the Modular Monolith
… The Modular Monolith The big idea An apartment building is one structure with one foundation and one address …
- Frontend Performance & Core Web Vitals
… yield() or setTimeout ). - Move heavy work off the main thread: Web Workers for parsing, image processing, big calculations …
- Preparing for Technical Interview Rounds
… Inputs, outputs, edge cases, size of data Plan Brute force first, then improve, state Big-O Code Clean …
- L6 Production Debugging Casebook
… Retrying a 10-second failure on every request can make the outage bigger . See [resilient service calls](./resilient …
- DSA Interview Patterns Cheat Sheet
… O(n log n) or O(n) Sorting, heap, hash map, two pointers bigger O(log n) or …
- Two Pointers & Sliding Window
… into O(n). Learn them with animated-style diagrams and classic interview examples. Two Pointers The big idea …
- Kafka Producers
… idempotent producer. The big idea A postal worker doesn't drive to the sorting office for every single …
- What Are Design Patterns?
… Meet the three families and learn how to use patterns without overusing them. The big idea Architects don …
- Distributed Coordination: Consensus, Heartbeats and Gossip
… Bigger number = newer owner. Ticket numbers at a deli: number 42 is served, 41 is old and ignored …
- Database Indexing & Transactions
… a range on created at) --- Part 2: Transactions and concurrency The big idea Two people try to book …
- Data Structures for Scale
… positives, false negatives, over- or under-count), - how big the error can be, - how often it's rebuilt …
- Kafka vs RabbitMQ & the Kafka Ecosystem
… databases (Debezium CDC), S3, MQTT, Salesforce. - Sink connectors push data out : Elasticsearch, S3, Snowflake, BigQuery, MongoDB, Postgres. json …
- JavaScript Language Fundamentals
… const big = orders.find((o) = o.total 50); // { id: 3, … } const anyUnpaid = orders.some((o) = !o.paid); // true …
- Architecture Patterns at Scale
Pick between one big app, many small services, serverless functions, events or peer-to-peer based on who …
- YAGNI: You Aren't Gonna Need It
… C3,C4 cost The 4th cost is the big one: when the need finally arrives, it is almost …
- AWS Databases: Choose the Right One
… BIGINT PRIMARY KEY, name TEXT NOT NULL ); CREATE TABLE orders ( id BIGINT PRIMARY KEY, customer id BIGINT NOT …
- Small Functions That Do One Thing
… insert)] W -- T[welcomeTemplate] One level of abstraction per function Don't mix "big picture" steps with tiny …
- 10,000 Users Do Not Need 10,000 Database Connections
… Only then, if the database has spare CPU and disk, consider a bigger pool. How to prove it …
- Domain-Driven Design: Strategic Design
… to discover them. The big idea Software fails most often not because of bad code, but because developers …
- Delivery Guarantees: At-Most, At-Least & Exactly Once
… toLedgerEntry(message.value) }] }); await tx.sendOffsets({ consumerGroupId: "ledger-writer", topics: [{ topic, partitions: [{ partition, offset: (BigInt(message.offset) + 1n …
- Indexes, EXPLAIN & Query Plans
… 2. EXPLAIN (ANALYZE, BUFFERS) on production-sized data. 3. Biggest actual time step: seq scan? rows removed? bad …
- Topics, Partitions & Offsets
… ordering, how offsets work, and how retention and compaction clean up. The big idea A supermarket with one …
- What Is Apache Kafka?
… log of events that many systems can write to and read from at huge scale. The big picture …
- Polymorphism
… chains, and add new types without changing old code. The big idea Say "speak!" to a dog, a …
- Binary Search
… If capacity C works, every bigger capacity works too, so the condition flips once. Binary search the capacity …
- API Gateway, BFF & Service Discovery
… API gateways, Backends for Frontends, service registries, and service meshes. The big idea A big hotel has one …