Choosing and deploying a comet server

前端 未结 6 475
自闭症患者
自闭症患者 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:11

    I would recommend looking into Twisted, their twisted.web server, and the comet work done on top of it at Divmod. They can handle far more concurrent connections than traditional thread or process based servers, which is exactly what you need for something like this. And, yes, I've architected systems using Twisted for COMET stuff, while using other things for the more front-facing web applications beside it. It works out well with each part doing what it does best.

提交回复
热议问题