Glossary

ProgrammableWeb's glossary of API and other technology terms and defination
A B C D E F G H I J K L M N O P Q R S T U V W X
Polling

Polling refers to the act of continually requesting data from a server. In polling, an application constantly calls a server to check for new data updates. API requests are often set to run at specific intervals to automatically fetch data. But what if an application has cached data, and there are no new updates? Unnecessary polling can become rather resource-intensive, drain the servers, and increase overall costs. Polling makes sense for synchronous scenarios, but not for asynchronous connectivity. An alternative paradigm to polling is event streaming. Instead of a Request-Reply pattern, in which the client initiatives a call to the server, event streaming adopts a Publish-Subscribe pattern, in which the server only pushes information to the client only when it needs to be updated.