Choosing and deploying a comet server

前端 未结 6 497
自闭症患者
自闭症患者 2020-12-08 05:23

I want to push data to the browser over HTTP without killing my django/python application.

I decided to use a comet server, to proxy requests between my application

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-08 06:02

    If you can run Java I would recommend StreamHub Comet Server.

    Firstly, regarding your need not to 'kill' your existing application, the JavaScript include has a really low footprint at less than 10K. I use it for pushing user updates and chat on the social networking site I'm building. I tested with a 1000+ hits a day and there was no noticeable effect on the CPU.

    Secondly, on deploying, I followed some of the examples and was up and running really quickly compared to banging my head against a wall with CometD. There is a good Comet Hello World getting started guide and a Google Group if you get stuck on anything.

提交回复
热议问题