Hello Interview (@_hellointerview) header
Hello Interview (@_hellointerview) profile picture

Where top software engineers prepare for interviews

Joined May 2023
Your Kafka cluster has spare capacity, but one partition is drowning in traffic. Adding brokers won't spread a single hot key across them. Look at your partition key.
2
5
57
1,470
Read replicas and Redis are the two everyone names. They are not interchangeable and they do not solve the same problem.
1
3
55
1,906
Ranking millions of players in real time is brutal in SQL. Redis sorted sets keep the ranking live: O(log n) to insert a new score, O(log n) to fetch rank, instant top-N reads.
3
13
165
3,525
You can set AOF to fsync on every write, and almost nobody does because it costs exactly the speed they picked Redis for. MemoryDB sells some of that speed back for real disk durability: youtube.com/watch?v=fmT5nlEk…
253
CDC: the transactional outbox pattern
4
5
45
1,547
Task work suits Rabbit. Send this email, resize this image, one unit of work picked up once. Event streams suit Kafka, where several consumers read the same log at their own pace: youtube.com/watch?v=1HOVtQ-_…
20
7,280
PostgreSQL can do full-text search and store searchable JSON. Before adding a second database to your design, check what the first one already supports.
3
35
1,163