tags:

views:

161

answers:

1

Hi,

I was thinking of building a chat application in ASP .NET. I was thinking of either using push or pull. I have found that pull is more scalable than push. But does any body know if the web chat messenger like gtalk, yahoo etc use pull or push ?.

Thanks.

+1  A: 

Gmail and such are using comet. This is a push architecture.

There is a nice article on ajaxian describing how comet works, this technique is used to push data from the server to the client.

But I am really looking forward the WebSocket, I think it's gonna make a lot of things more easy.

RageZ
but if it is server push how does gtalk manage scalability.
Prashant
actually push scale better then pull, there is only one connection by user so it's easy to calculate the number of server you need. Simply you need a webserver adapted to that, Apache is creating process for each bunch of client, while some other webserver just wait for data on each socket.
RageZ
comet have also a bunch of special webserver for such applications
RageZ
I don't think IIS is adapted for a comet architecture
RageZ
Don't know much about comet on IIS, but last I read somewhere there is this thing called WebSync that supposedly do comet for IIS
Jimmy Chandra