Comet實現的新選擇

目前最強大的開源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. A dedicated server-side technique based on NIO (such as Greg, hi there, is working on ?) could help.”


並且申請加入Cometd的開發工作:
“With great interest I have been following recent COMET developments and would like to join cometd developments in whatever way.”
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章