Search
Lessons (40)
- Kafka Producers
How producers send records: batching, compression, partitioning, the acks setting that trades speed for safety, retries, and the …
- Normalization & Denormalization
… We will normalize one deliberately bad order table: order id customer name customer email product id product name …
- Next.js Rendering: CSR, SSR, SSG, ISR & Server Components
… GET /products S-- B: empty HTML + bundle.js Note over B: ⬜ blank screen B- B: download + run JavaScript …
- Putting AI Systems into Production
Design dependable model integrations with fallbacks, observability, versioning, cost controls, and human review. The big idea A production …
- Caching & Redis
… SET product:42 (expires in 300 s) end js async function getProduct(id) { const key = product:${id} ; const …
- Product-Scale Frontend Patterns
… a server-authoritative result. Offline-first is a product decision Offline support needs more than caching assets. Decide …
- Delivery Guarantees: At-Most, At-Least & Exactly Once
Can a message be lost? Delivered twice? Learn Kafka's three delivery semantics, idempotent producers, transactions for read …
- CI/CD and Reviewed Production Changes
… Tests using apply can create resources, so isolate them from production permissions. Apply the approved artifact A protected …
- What Is Apache Kafka?
… append an event const producer = kafka.producer(); await producer.connect(); await producer.send({ topic: "orders", messages: [{ key: "customer …
- The Hot SKU Alert Problem
One product's price drops and ten million people are watching it. Tell every one of them exactly …
- CI/CD Fundamentals and Pipeline Design
… What comes out at the end is a tested, packaged product that is safe to ship. ![A pipeline …
- React Fundamentals
… cart, products"] -- products, onAdd PL[ProductList] PL -- name, price, onAdd PC1[ProductCard] PL -- name, price, onAdd PC2[ProductCard …
- MVC, MVP & MVVM
… routes/products.js (Express) router.get("/products/:id", async (req, res) = { const product = await Product.findById(req.params …
- Atomic Design & Component Libraries
… shared UI stays independent of product domains; feature code stays close to its use case. Templates make loading …
- Production Capstone and Interview Practice
Combine modules, isolated environments, remote state, tests, and reviewed delivery in a production-style storage project. Build a …
- Docker in Production on a Single Server
… Run (only what production needs) ---- FROM node:22-alpine AS runtime WORKDIR /app ENV NODE ENV=production ENV …
- Jenkins in Production: Deploys, Docker and Scaling
… 1, unit: 'HOURS') { // don't hold an executor forever input message: "Deploy ${TAG} to production?", ok: 'Deploy', submitter …
- State Management (Redux, Zustand, TanStack Query)
… useQuery(["products"]) B- Q: useQuery(["products"]) Q- API: ONE request (deduplicated) API-- Q: data Q-- A: data Q …
- Running Kafka in Production: The DevOps View
… topics, producers, consumers, delivery guarantees. The Apache Kafka section covers this. - DevOps / platform engineers build and run the …
- Message Queues & RabbitMQ
… producer and consumer (Node.js, amqplib) js // producer.js import amqp from "amqplib"; const connection = await amqp.connect …
- CI/CD with GitHub Actions
… If staging and production each run their own build, you can't be sure production gets exactly what …
- How a Web Request Works
… GET /products/42 LB- S: forward to a healthy server S- DB: SELECT FROM products WHERE id = 42 …
- Environments, Workspaces, and Multiple Accounts
Separate development and production ownership, understand workspace limits, and configure provider aliases. Isolation has several layers Development and …
- Finding Service Boundaries with DDD
… If one giant Product class tries to serve everyone, every team edits it, it grows to 80 fields …
- Caching, Consistent Hashing and Sharding
… A celebrity posts about one product, and suddenly half of all reads ( 50,000 per second ) are for …
- DevOps and the Path from Code to Server
… It's a way of working: automate the boring steps, measure what happens in production, and make releasing …
- Safe AWS Deployments with IaC and CI/CD
… Continuous delivery produces reviewed deployable releases; whether production deploys automatically depends on your team's approval policy. A …
- Brokers, Replication & Durability
… It stores partition replicas and serves producers and consumers. - A cluster is a group of brokers (3 at …
- Month 6: Reliability, Security, Fine-Tuning and Production (Weeks 21-24)
… Add a new case every time production finds a bug. - Regression testing : run the full suite on every …
- Kafka for Backend Services
… true }); // no duplicates from producer retries export async function runRelay() { await producer.connect(); while (true) { const client = await …
- Releases, Observability and Production Safety
… 2 days), not every time one request fails. Production safety basics - TLS encrypts traffic between machines (the "s …
- Design System Operations
Run a component library as a reliable product with headless primitives, theming, documentation, visual checks and a safe …
- Frontend Testing Strategy
… 201 })), ]; tsx it("lists products from the API", async () = { render(<ProductsPage / ); expect(await screen.findByText("Keyboard")).toBeInTheDocument(); // findBy …
- Your Practical Kubernetes Workflow
… shop-api 1 -n production Use helm template or helm diff before a production change so you can …
- Kafka vs RabbitMQ & the Kafka Ecosystem
… Analytics, search and fraud detection plug in without touching the services that produce the events. Managed options Running …
- Vertical Slice Architecture & the Modular Monolith
… ts │ └── ProductService.ts │ │ └── handler.test.ts ├── repositories/ │ ├── cancel-order/ │ ├── OrderRepository.ts │ └── get-order-history/ │ └── ProductRepository.ts └── products/ └── dtos …
- SQL vs NoSQL Databases
… 17, name: "Ana", email: "ana@mail.com" }, items: [ { productId: 5, name: "Keyboard", qty: 1, priceCents: 4999 }, { productId: 9 …
- Deploying & Operating Microservices
CI/CD per service, blue-green and canary releases, feature flags, API versioning, distributed tracing and the production …
- Scalable Frontend Architecture
Structure a growing frontend around features, clear ownership and stable boundaries so teams can add product work without …
- Event-Driven Architecture
… one producer publishes a fact; many consumers react independently](/img/architecture/event-driven.svg) Request-driven vs event …