News for hackers. Stuff that matters.
Re:Web Performance Profiling: Google.com by stingraycharles on Tuesday September 15, 2020 @11:28AM (#24482333)
Am I the only person here who wasn’t thinking about the frontend, but rather all the things that need to happen in the backend to render the search results?

To me it feels like an oversight when answering the question “how the hell is Google so fast?” and not digging into how Google is able to return the results to your actual search query in a matter of milliseconds. That, to me, is the real miracle.

Re:Web Performance Profiling: Google.com by kempbellt on Tuesday September 15, 2020 @11:40AM (#24482512)
I find this to be the more fascinating part of Google's response time as well. Sending an optimized html file to a client in a matter of milliseconds is cool, but static pages should all load very quickly, so I don't see much surprise here - they've just optimized their front-end and done a good job of it.

Them being able to take your query, discover the data that answers your query, then optimize that data down to a little html snippet that fast is significantly more impressive to me.

Re:Web Performance Profiling: Google.com by sozy777 on Wednesday September 16, 2020 @04:10AM (#24490577)
And setup ads biddings, customized to you...
Re:Web Performance Profiling: Google.com by ma2rten on Tuesday September 15, 2020 @11:37AM (#24482470)
There is a lecture from Jeff Dean about it: https://www.youtube.com/watch?v=modXC5IWTJI

It's from 2010, but the fundamentals probably haven't changed.

Re:Web Performance Profiling: Google.com by brundolf on Tuesday September 15, 2020 @12:39PM (#24483270)
Sure, but that's a) impossible to dig into from the outside and b) less likely to yield useful information for the average developer who's trying to speed up a website.
Re:Web Performance Profiling: Google.com by tyingq on Tuesday September 15, 2020 @11:36AM (#24482454)
It is handy, though, that search results are free to be very "eventually consistent" and easily distributed.

Not discounting the other magic, but exposing read-only data, close to the end user, where freshness isn't a huge concern does simplify things.

Re:Web Performance Profiling: Google.com by GuB-42 on Tuesday September 15, 2020 @10:02PM (#24488836)
Something interesting I noticed is that the further you go down the pages, the slower it gets.

By their own metric, page 10+ take several times longer to arrive, and most search terms only have a few hundred results at best, even when showing billions of results, you only see the real number when you hit the last page. For example, for me, the word "the" only has 445 actual results (instead of 25 billions), and page 45 takes 2 seconds to complete, compared to 0.7 seconds for page 1.

Re:Web Performance Profiling: Google.com by mhh__ on Tuesday September 15, 2020 @11:59AM (#24482773)
It is an oversight, but equally for people like me it is helpful - I know how to optimise C++ (maybe not at google scale on my own!) but I've bullied compilers and measured pmc's, I haven't got a clue how to optimise frontends (beyond my usual solution of give up go and do something pleasurable)
Re:Web Performance Profiling: Google.com by GretchenKlein91 on Tuesday September 15, 2020 @06:41PM (#24487577)
yeah me too