Deep dives, written down.
Notes on backend engineering, distributed systems and Java — published on Medium.
@raghavashisht13 on MediumKafka
Kafka is a distributed event streaming platform . It lets you publish events, store them durably on disk, and let many consumers subscribe to and process them,…
Event-Driven Architecture (EDA)
Kafka is built around event-driven architecture, so it helps to understand EDA first. What is EDA? In EDA, work starts when a producer publishes an event .…
The Outbox Pattern
The problem In microservices, we use Kafka a lot because doing things async takes load off the main request, instead of blocking a thread we can make it async…
BSON vs JSON: Why MongoDB is Fast
What is BSON? We all know JSON. It’s clean, lightweight, and easy for humans to read. But just because a format is easy to read doesn’t mean it’s fast for a…
RAG (Retrieval-augmented generation)
What is Retrieval Augmented generation? Retrieval Augmented generation is an AI framework which is designed for retrieving facts from a dataset (external) or…