KAKunal Arorainkrishanblogs.hashnode.dev·Oct 4, 2024 · 2 min readIdempotency 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...00
KAKunal Arorainkrishanblogs.hashnode.dev·Oct 2, 2024 · 5 min readHow 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...00
KAKunal Arorainkrishanblogs.hashnode.dev·May 8, 2024 · 10 min readSystem 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...00