Nginx & Comet: Low Latency Server Push – igvita.com

Turn your Nginx server into a fully functional Comet server with the nginx_http_push_module plugin.

Instead of using a custom framework, Leo's plugin exposes two endpoints on your Nginx server: one for the subscribers, and one for the publisher. The clients open long-polling connections to a channel on the Nginx server and start waiting for data. Meanwhile, the publisher simply POST's the data to Nginx and the plugin then does all the heavy lifting for you by distributing the data to the waiting clients. This means that the publisher never actually serves the data directly, it is simply an event generator! It is hard to make it any simpler then that.

via Nginx & Comet: Low Latency Server Push – igvita.com.



Comments

No comments yet.

Add Yours

  • Author Avatar

    YOU


Comment Arrow
CommentLuv Enabled



About Author

Larry

A certified PHP developer and architect living and working in Orange County California. Larry specializes in LAMP based platforms and focuses on a wide variety of leading edge web technologies including web service development, AJAX enabled applications as well as Flash based application development.