In a client-server web or mobile application, a typical problem is updating the client when data on the server has changed or if a long-running background job has completed. Given that HTTP is a stateless protocol — consisting of requests initiated by the client and consequently responses from the server — it is common practice to call the server at regular intervals to check for data changes and update the client when it has. This is also known as API polling. …

Naveed Khan

Technology leader, entrepreneur and angel investor. Director of Engineering at Kinoo. I write about software engineering at medium and effective-programmer.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store