My favorites | Sign in
Project Logo
                
People details
Project owners:
  vbaspcppguy

Purpose

To handle the concurrent connections needed for comet (server to client push) interaction in AJAX applications by queuing and sending messages to client browsers.

Concept

Parts

In order of development importance:

Why?

My main reason is PHP sucks for comet but that is its only real lack for use as an AJAX platform. (Note: This application would be potentially usable with ANY server side application.) To host comet you must have a connection open per active client. In PHP that would mean one loading page per user at all times, at 2-3mb per process this adds up very rapidly.

What is Comet?

In short comet is a method using only javascript and the http protocol to allow a server to send data to the client without it being requested.

Traditionally data could only be given to a browser when requested by that browser. This led to frequent polling of the server which causes high requests as well as slow actual response time.

Comet utilizes the XMLHttpRequest to connect to a server side resource that holds the connection open and sends down data as it is received by the server in chunks. This allows for low latency server to client push without resource eating polling.









Hosted by Google Code