News for hackers. Stuff that matters.
Re:A Senior Engineer's Guide to the System Design Interview by Plasmoid on Thursday March 02, 2023 @07:06PM (#35003902)
A cache is such a red flag when I'm doing a system design interview.

I ask people to design a system but the system itself is very write heavy. Like 50 writes per read imbalanced. People will often suggest a cache because it's in the standard interview prep but not actually think about why they need it. They just go right to "I need a cache somewhere".

Re:A Senior Engineer's Guide to the System Design Interview by dilyevsky on Thursday March 02, 2023 @09:07PM (#35004935)
Ok if not cache then it must be hashtable?
Re:A Senior Engineer's Guide to the System Design Interview by rippercushions on Thursday March 02, 2023 @10:14PM (#35005347)
To crack any IT interview, just breadth-first search the hashtable in a dictionary and you're golden.
Re:A Senior Engineer's Guide to the System Design Interview by sophonX on Friday March 03, 2023 @07:53AM (#35008911)
lol, i don't get it.
Re:A Senior Engineer's Guide to the System Design Interview by quadrifoliate on Thursday March 02, 2023 @11:59PM (#35006008)
> I ask people to design a system but the system itself is very write heavy. Like 50 writes per read imbalanced. People will often suggest a cache because it's in the standard interview prep but not actually think about why they need it.

I mean, it's a cool thought process to go "Ooh, maybe I can store up repeated things so I don't need to repeat an expensive access process often!" It's a byproduct of modern computing hardware that we frequently have the luxury of not thinking about caching very often.

I don't think you should punish people for considering a cache. Write caching is a thing, it might just not be applicable for the system you're considering.

Re:A Senior Engineer's Guide to the System Design Interview by paxys on Friday March 03, 2023 @12:23AM (#35006147)
Well yeah, if you can say all this in the interview then you will be fine. 90% of candidates will instead read "add cache to improve performance" in their interview prep guide and repeat it verbatim.