Idempotency in Kafka ProducerHow Producer and Broker Communication works? Whenever a Producer send a message to Broker , Broker will in return send an ACK to producer and log the message into the respective partition .In case producer doesn’t successfully received the ACK produc...Oct 4, 2024 · 2 min readkrishanblogs.hashnode.dev
How to Manage Data Consistency with Multiple Worker Instances?Problem Statement Let’s consider a scenario where we have a single service instance running a cron job. This job checks the database for any entries with a status of COMPLETED. When it finds such entries, it performs the necessary application code c...Oct 2, 2024 · 5 min readkrishanblogs.hashnode.dev
System Design For Twitter Hashtag TrackingProblem Statement Design a basic system to count and display the number of times a hashtag is used on a social media platform. Functional Requirements Users should able to tweet along with hashtags Assumption: For now let’s focus on basic tweets wh...May 8, 2024 · 10 min readkrishanblogs.hashnode.dev