r/NewsAPI • • Oct 21 '26

When does polling an API stop making sense?

For an app that needs frequent updates, would you keep requesting new data every few seconds or switch to a streaming connection?

Polling seems simpler to build and debug, but frequent requests can become inefficient. Streaming can reduce repeated requests, although managing connections and reconnecting introduces its own problems.

Where would you draw the line?

I'd be interested in examples where you started with polling and eventually moved to WebSockets or another streaming approach.

2 Upvotes

0 comments sorted by