PHP +彗星(长轮询)缩放/主机彗星、缩放、主机、PHP

2023-09-10 16:26:51 作者:沵是俄De天使

我已经developped使用它使用的彗星技术,presicely长轮询的PHP / MySQL的应用程序。概念证明的伟大工程,但我期待的流量迅速达到几千点大连接=成千上万打开的连接上的网络服务器。

I have developped an application using PHP/MySQL which used comet technology, presicely long-polling. The proof of concept works great, but I am expecting traffic to quickly reach thousands of simultanous connections = thousands of open connections on the webserver.

我没有能力建立自己的服务器(例如,使用lighttpd的)我的,并且通常依赖于简单的5 $ /月PHP hostings其他Web项目。然而,我知道那些不会做的伎俩,因为他们的目的不是支持如此高的点大的开放连接。

I do not have the ability to setup my own server (e.g. using lighttpd), and usually rely on simple 5$/month PHP hostings for other web projects. However, I realize those won't do the trick as they are not meant to support such a high number of simultanous open connections.

我有什么其他选择?我找不到专业彗星应用程序的任何主机。

What are my other options? I could not find any host specialized in comet applications.

感谢

推荐答案

我已经在相同的情况下,你和刚刚决定去与一个专用的服务器,在那里我会再安装的Nginx和的推送模块。这对一家报纸的网站上即时聊天,和它一直很大,到目前为止。 Apache会在真正的快速去,因为乔恩提及,而Nginx的进行伟大的,推模块是因为它得到一样简单。祝你好运!

I've been in the same situation as you, and just decided to go with a dedicated server, where I would then install Nginx and the Push Module. This was a real-time chat for a newspaper's website, and it has worked great so far. Apache will go under real quick as Jon mentions, while nginx performs great, and the push module is as simple as it gets. Good luck!