/plushcap/analysis/ably/google-polling-like-its-the-90s

Google - polling like it's the 90s

What's this blog post about?

A technical review of Google's live score feature in search results reveals surprising use of old-school tech from the 90s, contrary to Google's reputation for efficient micro-optimization and pioneering initiatives like AMP. The reviewer found that Google uses HTTP polling instead of more suitable protocols such as Websockets or Server-Sent Events (SSE), resulting in an 80x increase in overhead compared to a raw Websocket solution. This approach also leads to high variable latencies and diminished user experience, with average latency for score updates being 25 times slower than any streaming transport that could have been used. Furthermore, Google's scoring synchronization is inefficient, sending the entire state object every 10 seconds instead of only the changes. The reviewer suggests using Xdelta as a delta encoding algorithm to improve efficiency and reduce bandwidth consumption.

Company
Ably

Date published
Oct. 2, 2019

Author(s)
Matthew O'Riordan

Word count
1843

Hacker News points
2

Language
English


By Matt Makai. 2021-2024.