System Design Question 👇
Your Redis cache has 10 nodes, but one key gets 1M requests/sec and overloads one node.
What’s the best solution?
A) Add Time to Live (TTL)
B) Replicate the key
C) Use Least Recently Used (LRU)
D) Delete the key
What’s your answer? 👀
#SystemDesign
System Design Interview:
You're building an e-commerce platform.
A customer places an order.
Payment succeeds.
The order is created.
A confirmation notification is sent.
But the notification service crashes before delivering it.
The customer is charged but never receives confirmation.
No error is shown.
No alert is triggered.
How would you design the system to handle this failure and ensure the order is processed reliably?
I've solved 300+ CF problems, but I'm still struggling to solve even 2 problems consistently in contests.
I feel like I'm doing something wrong, but I can't figure out what it is.
If you've been in a similar situation, what helped you break through? Any advice would mean a lot🙏
Finally solved those 2 problems that dropped my rating by -39 😭
Brooohhhh, my rating has been going down for the last 4 contests 💀
Now, only upsolving can save me. 😭
Did you upsolve questions of CF Educational Round 193?
#Codeforces#CompetitiveProgramming#DSA
I've solved 300+ CF problems, but I'm still struggling to solve even 2 problems consistently in contests.
I feel like I'm doing something wrong, but I can't figure out what it is.
If you've been in a similar situation, what helped you break through? Any advice would mean a lot🙏
System Design Question 👇
What is the main purpose of a Distributed Cache?
A) Store data permanently
B) Reduce database load and improve read latency
C) Replace the database
D) Handle complex queries
What’s your answer? 👀
#SystemDesign#DistributedSystems
System Design Interview:
You're building an e-commerce platform.
A customer places an order.
Payment succeeds.
The order is created.
A confirmation notification is sent.
But the notification service crashes before delivering it.
The customer is charged but never receives confirmation.
No error is shown.
No alert is triggered.
How would you design the system to handle this failure and ensure the order is processed reliably?