Ajax 推送引擎 (APE) - 套接字问题
我正在研究 APE,他们有一个创建套接字服务器的套接字库。是否有关于如何创建它以便套接字服务器始终运行的教程?它的扩展能力如何?
I was looking into APE and they have a socket library that creates a socket server. Is there a tutorial on how to go about creating this so that the socket server is always running? and how well does it scale?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
嗯,不确定你在找什么。套接字服务器看起来非常简单!
http://www.ape-project.org/docs/server/ sockets/sockserver.html
关于扩展,我不知道,但他们声称它可以(垂直)扩展到超过 100,000 个并发客户端。
Mmmm, not sure what are you looking for. The socket server looks pretty straightforward!
http://www.ape-project.org/docs/server/sockets/sockserver.html
About the scaling, I don't know, but they claim it scales (vertically) to more than 100,000 concurrent clients.
如果您在 Linux 中运行它,您可能需要查找 nohup 命令
nohup [命令] &
If you are running it in Linux you might want to look up the nohup command
nohup [command] &