Nitish Kumar

116 posts

Nitish Kumar banner
Nitish Kumar

Nitish Kumar

@imnitishk

I write programs

Katılım Mart 2016
92 Takip Edilen49 Takipçiler
Nitish Kumar
Nitish Kumar@imnitishk·
• Parking inside the mall itself is a nightmare. Avoid weekends unless you want to waste hours. @InorbitMall
English
1
0
0
35
Nitish Kumar
Nitish Kumar@imnitishk·
@SumitM_X A 500 is a backend responsibility. Even with a wrong payload, the API should validate input and return a 400 with a clear error.
English
0
0
0
52
SumitM
SumitM@SumitM_X·
UI sends wrong payload . API returns 500.. Backend Tech Lead says frontend's fault on the call . What will be your input ?
English
43
6
146
63.8K
Nitish Kumar
Nitish Kumar@imnitishk·
@shekhu04 Exactly! In prod, correctness > latency. Stabilize first .. then fix invalidation and add guardrails
English
0
0
0
4
Shikhar
Shikhar@shekhu04·
@imnitishk That is some production thinking Contain impact first, then fix the root cause
English
1
0
0
30
Shikhar
Shikhar@shekhu04·
Interviewer: Your cache and database are out of sync Users are seeing old data What is your first move?
English
42
6
223
33.3K
Nitish Kumar
Nitish Kumar@imnitishk·
Amazon syncs your cart by storing it centrally on the server .. not on the device. Every add or remove updates the backend. All logged-in devices stay connected (WebSockets/push). When one device changes the cart, the server pushes updates to others in real time. Cache + DB handle scale, versioning avoids conflicts.
English
0
0
0
218
Shreya
Shreya@Oblivious9021·
Interviewer: How does Amazon sync your cart across phone, laptop, web, and multiple devices in real time?
English
47
10
561
168.9K
Nitish Kumar
Nitish Kumar@imnitishk·
@shekhu04 Race condition. Without locking, one update may overwrite the other.
English
0
0
0
13
Shikhar
Shikhar@shekhu04·
interviewer - Two requests hit the same endpoint at the exact same time. Both modify the same record then what will happen??? what would be your answer?
English
54
6
239
51.7K
Nitish Kumar
Nitish Kumar@imnitishk·
Parody account deleted !!!
English
0
0
1
29
Nitish Kumar
Nitish Kumar@imnitishk·
Last night I generated my bank statement on the new @HDFC_Bank app and guess what - received it after 12 hours via email. Is this a glitch or the new “normal” turnaround time? 🤔
English
1
0
1
48