Comet实现的新选择
来源:百度文库 编辑:神马文学网 时间:2024/04/29 14:42:06
目前最强大的开源Comet解决方案是:
Dojo+Jetty Cometd+Jetty Continuation+Bayeux协议
一些相关的文档先放在这里,我就不多介绍了,大家都完全有能力读懂。
Jetty的作者,Servlet规范专家组成员Greg Wilkins写的两篇文章:
Ajax, Comet and Jetty:
http://www.webtide.com/downloads/whitePaperAjaxJetty.html
Cometd with Jetty:
http://blogs.webtide.com:8080/gregw/2006/08/03/1154583360000.html
Bayeux协议:
http://svn.xantus.org/shortbus/trunk/bayeux/protocol.txt
一种基于JSON的、平台中立的分路复用协议,可以由任何Comet客户端和服务器端实现。目前客户端的Dojo、服务器端的Jetty Cometd已经实现了对这个协议的支持。
一个使用这个解决方案的实例:
Active AJAX based live dashboards:
http://www.qenet.co.uk/warwick/whitepaper-pushTech.pdf
根据Greg Wilkins的测试,最后Jetty Cometd服务10000个用户875个线程,只用了57M内存。
http://groups.google.com/group/cometd-dev/browse_thread/thread/09d80fb4abdc4f5c
Pushlets作者Just van den Broecke也承认,Pushlets存在着可伸缩性的问题:
“Yes,I am aware of the scalability limitations of the Pushlets framework. Adedicated server-side technique based on NIO (such as Greg, hi there,is working on ?) could help.”
并且申请加入Cometd的开发工作:
“Withgreat interest I have been following recent COMET developments andwould like to join cometd developments in whatever way.”
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1658732
Dojo+Jetty Cometd+Jetty Continuation+Bayeux协议
一些相关的文档先放在这里,我就不多介绍了,大家都完全有能力读懂。
Jetty的作者,Servlet规范专家组成员Greg Wilkins写的两篇文章:
Ajax, Comet and Jetty:
http://www.webtide.com/downloads/whitePaperAjaxJetty.html
Cometd with Jetty:
http://blogs.webtide.com:8080/gregw/2006/08/03/1154583360000.html
Bayeux协议:
http://svn.xantus.org/shortbus/trunk/bayeux/protocol.txt
一种基于JSON的、平台中立的分路复用协议,可以由任何Comet客户端和服务器端实现。目前客户端的Dojo、服务器端的Jetty Cometd已经实现了对这个协议的支持。
一个使用这个解决方案的实例:
Active AJAX based live dashboards:
http://www.qenet.co.uk/warwick/whitepaper-pushTech.pdf
根据Greg Wilkins的测试,最后Jetty Cometd服务10000个用户875个线程,只用了57M内存。
http://groups.google.com/group/cometd-dev/browse_thread/thread/09d80fb4abdc4f5c
Pushlets作者Just van den Broecke也承认,Pushlets存在着可伸缩性的问题:
“Yes,I am aware of the scalability limitations of the Pushlets framework. Adedicated server-side technique based on NIO (such as Greg, hi there,is working on ?) could help.”
并且申请加入Cometd的开发工作:
“Withgreat interest I have been following recent COMET developments andwould like to join cometd developments in whatever way.”
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1658732
Comet实现的新选择
comet之 Tomcat6 的servlet异步处理实现
comet之 Tomcat6 的servlet异步处理实现 - birdmen - Jav...
使用 Java 实现 Comet 风格的 Web 应用
家庭聚会的新选择
“尾房”:实现梯级置业的绝佳选择
金融创新:实现可持续发展的必然选择
实现包容性增长的最佳路径选择
checkbox实现“选择全部”的toggle功能
Comet:基于 HTTP 长连接的“服务器推”技术
Comet:基于 HTTP 长连接的“服务器推”技术
Comet简介
实现国有企业改革的新突破 - 张文岳
VC中三态选择树实现的终结者
Word教程:轻松实现表格内容的选择录入
eclipse RCP:Rich?Client的新选择
路透网:下乡,中国大学毕业生的新选择
下乡,中国大学毕业生的新选择
装修的新选择--“涂奈克”墙衣
平板电脑,电子书的新选择?-人民日报
立足新的战略定位 实现企业运营转型
QQ空间日志实现图文并排的方法(新)
JavaScript实现窗体屏蔽并打开一个新的窗口
中国经济“十一五”实现新的跨越业已基本定局