|
|
|
|
|
by beachy
3498 days ago
|
|
Long polling works brilliantly (where your API call blocks until there are some results or until timeout occurs - then you loop and call again). Long polling gives you the best of both worlds - easy programming model with instant alerting rather than the delay of normal polling. The only downside really is the need for a more or less permanently open connection per client. As long as the server does not use a naive "thread per connection" model this can scale up to many hundreds of thousands of clients or more. |
|