Hello Interview

455 posts

Hello Interview banner
Hello Interview

Hello Interview

@_hellointerview

Prepare for your upcoming SWE interviews!

Katılım Mayıs 2023
2 Takip Edilen1.2K Takipçiler
Hello Interview
Hello Interview@_hellointerview·
A well-tuned Postgres or MySQL instance handles 10k-50k QPS. Modern cloud instances with 512 GiB RAM hold enormous working sets without touching disk. Don't shard until you've done the math. OpenAI didn't for ChatGPT.
English
0
0
6
1.6K
Hello Interview
Hello Interview@_hellointerview·
Redis runs at ~200k ops/sec with sub-millisecond latency. A single memory-optimized instance can hold terabytes. "We need to shard the cache" is almost never the right call.
English
1
0
5
1.7K
Hello Interview
Hello Interview@_hellointerview·
Most system design candidates are doing scale math with numbers from 2015. Modern hardware is dramatically more capable. Here's the cheat sheet.
English
6
34
580
47.8K
Hello Interview
Hello Interview@_hellointerview·
The interview move: when designing a leaderboard or any Top-K feature, propose Redis Sorted Sets, then follow up with "I'd shard by region and use a separate set per time bucket." That shows you understand both the data structure and its operational limits.
English
1
0
0
85
Hello Interview
Hello Interview@_hellointerview·
At 100 users, a ranked leaderboard from a relational DB is fine. At 10 million concurrent users, querying and sorting on every request will kill you. Redis Sorted Sets exist for exactly this.
Hello Interview tweet media
English
1
2
12
1.1K
Hello Interview
Hello Interview@_hellointerview·
The tradeoff most candidates get backwards: they optimize for interview performance instead of building the depth that makes interview performance easy.
English
1
0
1
405
Hello Interview
Hello Interview@_hellointerview·
One candidate tanked a system design round mid-loop at Microsoft. Knew it didn't go well. Got the offer anyway.
English
1
0
20
4.4K