Web sockets server side processing model

后端 未结 4 1399
野性不改
野性不改 2021-02-08 05:42

To implement a server supporting clients using web sockets, do servers keep an open HTTP connection with each client? How can this scale?

What are the \"programming mod

4条回答
  •  眼角桃花
    2021-02-08 06:08

    Take a look at HTML 5 WebSockets implemented in Tornado webserver: http://bret.appspot.com/entry/web-sockets-in-tornado

    I have not played with this module yet, though.

提交回复
热议问题