Bayeux

来源:互联网 发布:电信apn设置4g最快网络 编辑:程序博客网 时间:2024/06/05 17:32

The primary purpose of Bayeux is to support responsive 2 way interactions between web clients using Ajax and the web server.


Bayeux is a protocol for transporting asynchronous messages(primarily over HTTP), with low latency between a web server and a webbrowser. The messages are routed via named channels and can bedelivered: server to client, client to server and client to client (viathe server). By default, publish subscribe routing semantics areapplied to the channels, but other routing models are also supported.

 

Delivery of asynchronous messages from the server to a web client isoften described as "server-push". The combination of server pushtechniques with an Ajax web application has been called "comet". Cometdis a project by the Dojo Foundation to provide multiple implementationof the Bayeux project in several programming languages.

Bayeux seeks to reduce the complexity of developing Comet-drivenapplications by allowing implementers to more easily interoperate,solve common message distribution and routing problems, and providemechanisms for incremental improvement and extension.