Hacker News new | ask | show | jobs
by C1sc0cat 2789 days ago
And how would an outsider have any idea of the cost do you just mean the plant costs how much does google pay per MW in each locale how much does labour costs what allowance for accrued pension rights.
2 comments

Costs to Google are not magically different. You can make estimates without insider knowledge, but as in the window cleaner example, your estimates will be as bad as your assumptions.

You can also make estimates for compute, network, and storage costs based on the prices Google charged its Cloud customers for the same.

Ah and exactly where in a CS course do you get into the economics of large scale telecoms / networking infrastructure pray?

Let alone the economics of personnel costs or the non standard way google builds its infrastructure.

You don't. The exercise is in estimation. This is specifically not a case of the interviewer looking for you to get the "right" answer. The interviewer likely doesn't even know what the right answer is. They want to see if you can make back-of-the-envelope calculations and if you're capable of making sane (if inaccurate) assumptions.

Make a guess at total cost for an hour of compute time and how long it might take to transcode the average video. Guess at how many videos are uploaded on a typical day. Guess at how much the typical SRE costs Google and how many SREs YouTube employs. Do the same for software engineers, or explicitly exclude R&D. Guess at networking, storage, etc. Then roll all that together with some hours of video * (cost to transcode + cost to storage + cost to upload + cost to playback * average viewers) + sre cost +.... Bonus points if you can account for elasticity and peak load instead of just averages.

The point is to show that you can think through the problem. If all you can say is "I don't know what your networking costs are", then you come across as useless.

He's not a new grad, he was a director of PM. He should have a feel for ballpark figures regarding infrastructure and personnel costs, which don't vary by that big a factor from company to company.

The question is perfectly reasonable (and it sounds like the interviewee was providing a reasonable answer). The issue is the way the interviewer ran the interview, not with the particular question itself.

Wow. Feel free to use some punctuation here and there. That's annoying to parse as written.
I wonder whether there were some line breaks that C1sc0cat was hoping would remain as line breaks instead of being treated as spaces...