Shivam
1.6K posts

Shivam
@shivamtryynatwt
SRE @phonepe | prev inspeqai | LFX'24 @LitmusChaos | i mess prod
bengaluru Katılım Kasım 2021
194 Takip Edilen143 Takipçiler

@AtharvaXDevs focus on scripting, common commands used for monitoring system, networking and college subjects like DBMS and OS
English

@DeySuhotra wow
just heard TreeMap twice in a day
is it just a BST?
English

Got asked Consistent Hashing in an LLD round last week, and I genuinely wasn't prepared for it.
I walked in ready for Parking Lot, LRU Cache, maybe a Rate Limiter. The interviewer opened with "What is consistent hashing?" and I confidently started explaining regular hashing — hash functions, key % n, the whole thing. He let me finish. 💀
Then he asked if I had worked with distributed systems. I could have bluffed, but I told him honestly that I understood the concepts but hadn't worked with them at any real scale.
Then he asked how DynamoDB works — and that's when everything clicked. Partitions, automatic scaling, data distributed across nodes by a hash key. I finally understood what he actually wanted: not a definition, but a working system.
I designed a HashRing in Java backed by a TreeMap, used floorEntry() to route each request to the correct server in O(log n), and handled the circular wrap-around for the ring structure. I didn't finish the full implementation in time, but the interviewer followed the approach and we moved into bonus questions on fault tolerance and retry mechanisms.
The part where I admitted I hadn't worked with distributed systems? That actually went fine. Honesty over bluffing, every single time.
Wrote up the full breakdown with the code, UML diagrams, and what the interviewer was actually testing. Link below 👇
#SystemDesign #LLD #Java #SDE2 #InterviewPrep #SoftwareEngineering
medium.com/p/i-got-asked-…
English


@shivamtryynatwt yeah otherwise you’re just memorizing, not learning
English

i learned about LFs properly for the first time.
low risk. better than savings account returns. redeemable in T+1 or T+2 days. taxed as debt fund.
i’ve had a savings account since idk when. nobody once told me this existed.
we really be leaving money on the table.
samjam@sameexajamankar
genuine question where do you actually keep money for short term goals? savings account feels too accessible, FD feels too locked, and my wallet is clearly not an option 😭 asking for a friend who is me
English

@shivamtryynatwt I've my concepts written inside a notebook like this lol
English













