Developing Real-Time Websites

Tips and tricks for the Real-Time Web

View the Project on GitHub jchadwick/RealTimeWeb

Real-Time Technique: Polling

Polling makes a continuous stream of requests to a resource, hoping that it's changed

The following demo calls /Handlers/NewsFeed.ashx every 10 milliseconds

Started: false

Server-Side Code

Client-Side Code