开发者

Web based chat in asp.net , using ajax timers , will it perform for large number of users

开发者 https://www.devze.com 2022-12-17 06:19 出处:网络
as all we know that we can create very simple chat using ajax timer & web service , it runs well for few users .

as all we know that we can create very simple chat using ajax timer & web service , it runs well for few users .

i want to leaverage same idea for site where开发者_高级运维 5000+ users will be there in chat room , messages are stored in queue hold in memory * dispatched as user request that is through java script timers calling page method or service ,

how well it will perform ? i know GTalk implements XMPP protocol(jabber) for the web chat seems it will be difficult to got XMPP way ?

Any guidence ?


It will not perform well unless you use something like Comet.

This requires you to get rid of the conventional HTTP servers and use an Event based one (NodeJS, EventMachine, Twisted).

0

精彩评论

暂无评论...
验证码 换一张
取 消