Alternatives to polling

Frode Borlaug

Lightning talk - in Norwegian

We need to move state, events and data between systems, and between browsers and backends. We often solve this by polling.

In the context of REST APIs, this often means repeatedly doing REST calls, to detect changes.

This kind of polling solutions do not scale easily, and typically are not responsive. What can be a better solution?


We look at some alternatives:

Between backends:

Rest Hooks

Between frontends and backends:

Server-sent events



The talk will introduce the "problem" with polling. Then briefly introduce some alternatives, and their pros and cons.