Using comet with PHP?

后端 未结 11 1564
星月不相逢
星月不相逢 2020-11-22 03:09

I was thinking of implementing real time chat using a PHP backend, but I ran across this comment on a site discussing comet:

My understanding is that

11条回答
  •  不要未来只要你来
    2020-11-22 03:57

    You'll have a hard time implementing comet in PHP, just because of it's inherent single-threaded-ness.

    Check out Websync On-Demand - the service lets you integrate PHP via server-side publishing, offloading the heavy concurrent connection stuff, and will let you create a real-time chat app in no time.

提交回复
热议问题