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

Where top software engineers prepare for interviews

Joined May 2023
Cache event details and use Elasticsearch for discovery. Treat the seat map as a hint: availability can change between viewing a seat and trying to reserve it.
1
2
747
A virtual waiting room controls how many people reach checkout. More booking servers alone won’t fix millions of users competing for the same few seats.
1
2
1,303
Reserve seats for a few minutes while the user pays. An expiring Redis lock avoids holding a database transaction open through checkout. The final booking still needs a database concurrency check.
1
4
1,641
Search can tolerate stale data. Selling the same seat twice cannot. Give browsing and booking different consistency guarantees instead of forcing one policy on the whole system.
1
1
10
2,086
Ticketmaster System Design
5
37
736
36,210
A binary tree is nodes with at most two children. Root at the top, leaves at the bottom, height is the longest path between them. That is the whole vocabulary.
1
25
1,156
Vector databases: the product search missed
21
1,067
A video platform can use seven system design patterns in one user flow. Follow an upload from the creator's laptop to the people watching it.
1
6
49
2,434
Someone we worked with just landed a $1.7M TC offer at Anthropic, after nearly a decade out of the interview loop.
9
12
1
667
93,507
You and a friend type the letter A in the same spot at the same instant. Which one wins? Every collaborative app answers that differently and the answer shapes the whole system.
2
2
15
1,305
A service slows down, so clients retry. The retries pile more load on the already-struggling service, which slows it down more, which triggers more retries. Your own clients end up DDoSing your backend.
3
5
64
2,678
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.
3
5
63
2,018