Polling is the most common approach to organizing two-way communication in an API when a partner needs not only to send data to the server but also to receive notifications from the server about changes in some state. Although this approach is quite easy to implement, polling always requires a compromise between responsiveness, performance, and system throughput.
Share this post
[The API Patterns] Bidirectional Data Flows…
Share this post
Polling is the most common approach to organizing two-way communication in an API when a partner needs not only to send data to the server but also to receive notifications from the server about changes in some state. Although this approach is quite easy to implement, polling always requires a compromise between responsiveness, performance, and system throughput.