Search
Lessons (34)
- Kafka vs RabbitMQ & the Kafka Ecosystem
… processing inside your app A Java library for stateful stream processing : filtering, mapping, joining streams, windowed aggregations, with …
- Batch vs Stream and Data Modeling
Decide when work runs (later in a batch, or right away in a stream) and store data correctly …
- Big Data: ETL, Warehouses and Streaming
… Stream for speed, batch for repair, and write the rules once - Streaming keeps the dashboard fresh. - Batch backfills …
- REST vs GraphQL vs gRPC
… GetOrder (GetOrderRequest) returns (Order); rpc StreamOrderUpdates (GetOrderRequest) returns (stream OrderStatus); // server streaming } message GetOrderRequest { string order id = 1 …
- Premiere-Night Video Streaming
… Each stream averages 5 megabits per second (Mb/s). Here is what goes wrong in a naive design …
- Design a Logging and Monitoring Platform
… The stream is fine. - Logs keep flowing into the stream. Nothing is lost as long as the indexer …
- Month 3: LLM Engineering (Weeks 9-12)
… streaming, cost, routing and reliability Learn - Streaming : send tokens to the user as they are produced (Server-Sent …
- Next.js Rendering: CSR, SSR, SSG, ISR & Server Components
… refresh after a CMS edit or mutation import { revalidatePath } from "next/cache"; revalidatePath("/products"); Streaming with Suspense Don …
- Heaps & Priority Queues
… Top K ⭐ "Find the k largest numbers in a stream of a million numbers." Sorting is O(n …
- What Is Apache Kafka?
… key, value, timestamp, headers One newspaper story Topic A named stream of related events, e.g. orders A …
- React Internals & Concurrent Rendering
… Measure and fix the expensive path if it remains slow. Suspense and streaming Suspense shows a fallback while …
- Delivery Guarantees: At-Most, At-Least & Exactly Once
… Transactions (atomic read-process-write) A stream processor reads from topic A, transforms the record, and writes to …
- Message Queues & RabbitMQ
… pub-sub Serverless, no ops Redis Streams / BullMQ In-memory streams Lightweight background jobs in Node.js NATS …
- Event-Driven Patterns, Step Functions and Reliable Lambdas
… SaaS and schedules Kinesis / MSK Ordered streams High-throughput, replayable streams Step Functions Orchestrated workflow Multi-step flows …
- Real-Time, Pub/Sub, Webhooks and CDC
… an event stream can feed pub-sub consumers, webhook delivery, server-sent updates and database change capture](/img …
- Topics, Partitions & Offsets
… partitions.svg) Topics A topic is a named stream of related events: orders , payments , page-views , user-signups …
- Serverless Architecture
… λ nightlyReport"] DB["🗄️ DB change<br/ (DynamoDB stream)"] -- F5["λ updateSearchIndex"] ts // AWS Lambda handler: create an …
- Async JavaScript: Promises, async/await and Node's Event Loop
… data }); worker.once("message", resolve); worker.once("error", reject); }); } Async iteration and streams js import { createReadStream } from "node …
- Proxies, APIs and Real-Time Protocols
… one is a "latest is best" stream, the other is a "must happen exactly once" command. </details --- Going …
- Design a Ride-Sharing Service
… The bottom lines are the careful matching path. text Driver app - location stream - geo index (TTL) Rider request …
- Caching & Redis
… Stable "popular items" FIFO The oldest item Simple streams TTL Expired items Time-sensitive data In Redis: maxmemory …
- Month 5: AI Agents and Tool Orchestration (Weeks 17-20)
… The same agent ideas plus real-time streaming. Look at OpenAI Realtime, Deepgram, ElevenLabs, LiveKit or Pipecat when …
- DynamoDB Modeling, RDS Scaling and Data Resilience
… Background expiry cleanup; not an immediate authorization check Streams Trigger Lambda on changes; build projections Transactions All-or …
- Kafka for Backend Services
… kafka/topics-partitions-offsets) Stream processing Join, aggregate and window events (Kafka Streams, Flink) [Kafka ecosystem](/learn/kafka …
- AWS Data Pipelines in Plain Language
… Runs SQL directly over S3 data Firehose Delivers streaming data into S3 Use Parquet for analytical data when …
- AWS Messaging: Queues, Topics and Events
… rules send events to services by type/content Kinesis Ordered, high-volume stream processing SQS basics that prevent …
- Data in Microservices: Sagas & the Outbox Pattern
… Debezium read the database's transaction log and stream outbox rows to Kafka, with no polling needed. The …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
… arrays, Map , Set , for await (const chunk of stream) , paginated API helpers. --- 4. Mediator ✈️ Analogy: Planes don't …
- Design a Social Media Feed
… comments live in separate, scalable counters or event streams. Don't rewrite the post every time someone likes …
- Design a Polite Web Crawler
… Some "pages" are endless streams. - Crawl limit per site (e.g. at most 50,000 pages from one …
- Message Delivery: Queues, Kafka, Ordering and DLQs
… order placed text Order database + outbox row (one transaction) - event stream: OrderPlaced(order id, version, event id) - inventory …
- Collaborative Document Editing & Real-Time Sync
… POST /docs/{docId}/restore - { rev } WS /docs/{docId}/stream The messages sent over the WebSocket: jsonc // client - server …
- Month 4: RAG and Knowledge Systems (Weeks 13-16)
… reranking, SQL routing and a simple chat interface (Streamlit or your own React front end). Checklist - [ ] I know …
- Node.js and Express
… move the cache to Redis Database connections and streams never closed Use a pool, release clients in finally …