需要帮助彗星,和什么选择 [英] Need help with comet, and what to choose
问题描述
我是新的彗星,但我已经阅读了,我意识到PHP是不好的彗星长轮询。
I'm new to comet, but I have read about it and I realize that PHP is bad for comet long polling.
我的所有项目都是写的CodeIgniter PHP Framework,所以我的所有代码是PHP。但我需要请求数据所有秒更新拍卖产品,我正在寻找彗星,但因为PHP是一个糟糕的方式彗星,我该怎么办呢?
All of my project is written in CodeIgniter PHP Framework, so all my code is PHP. But I need request data all seconds to update auctions products, and I'm looking for comet, but as PHP is a bad way to comet, how can I do it?
也可以从MySQL读取并发送到侦听器。
also it is possible to read from MySQL and send to listener?
谢谢。
推荐答案
另一个选项是托管彗星SaaS解决方案,例如 WebSync On-Demand 。
Another options would be a hosted comet SaaS solution, such as WebSync On-Demand. It's cheap, and because it's hosted doesn't have server requirements.
There's a PHP SDK for integrating your data push.
[免责声明:我在那里工作]
[Disclaimer: I work there]
这篇关于需要帮助彗星,和什么选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!