Search
Lessons (20)
- Design a Chat Application
Deliver live messages without losing them by separating durable messages from fan-out, presence and offline notifications. ![Chat …
- Design a URL Shortener
Generate durable short links, redirect in milliseconds, prevent abuse and keep analytics off the redirect path. A short …
- Brokers, Replication & Durability
… 62 🐢 fell behind<br/ removed from ISR"] The durability trio ⭐ These three settings together decide whether an acknowledged …
- Database Internals, Replication and Scaling
Connect storage-engine choices, durability, replicas, query plans, pooling and data layout to real production behaviour.  }, // write to disk ); js // consumer.js const channel = await connection.createChannel(); await channel.assertQueue("emails", { durable …
- ACID, Transactions & Locks
… Two buyers cannot both reserve the last item. Durability Crash after success A committed payment record is recovered …
- Kafka vs RabbitMQ & the Kafka Ecosystem
… takeaways - RabbitMQ = smart routing + delete after delivery; Kafka = durable, replayable, ordered log at huge scale. - Choose Kafka for …
- Data in Microservices: Sagas & the Outbox Pattern
… A simple orchestrator (tools like Temporal make this durable and crash-safe) async function placeOrderSaga(order) { const done …