The Timeout Pattern
The beauty of AJAX is that you can serve your users Web applications that present live data, such as news and any other streamed content. Although mashup pages with live data are helpful for users—and are an essential part of the user experience—they definitely put a lot of pressure on the server that provides the service. This pressure isn’t too bad if there’s also a live user viewing and consuming that stream of data.
In particular with multitab browsers, it’s easy for users to forget about a page opened in a hidden tab that regularly, and frequently, polls the server for fresh data. So it happens that users leave a workstation for hours while the application, unaware of the user’s absence, keeps on polling.
A well-designed ...
Get Microsoft® ASP.NET and AJAX: Architecting Web Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.