In the previous article, we explored traditional polling.

At first glance, polling seemed like a reasonable solution.

A browser simply asked the server:


"Anything new?"


If nothing changed:



{
"updates": []
}






The browser waited a few seconds and asked again.

Simple.

Predictable.

Easy to implement.

For small systems, it worked...