Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6814281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:40:14+00:00 2026-05-26T20:40:14+00:00

I have been developing web applications for some time but have very recently been

  • 0

I have been developing web applications for some time but have very recently been introduced with the Comet server side push technology and my understanding of this technology is very immature. While the link http://www.zeitoun.net/articles/comet_and_php/start provides two simplistic example implementations using an infinite loop in PHP, I would like to know more on the repurcussions of the above methods and if it is suitable for production.
What advantages do dedicated comet servers like Meteor(http://meteorserver.org/) , streamhub (http://www.stream-hub.com/), freeliberator (http://www.freeliberator.com/index.php) ?

Also how different is Comet server side push from HTML5 web socket facility ?

My principle objective is to build a variant of collaborative real time document editing facility.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:40:15+00:00Added an answer on May 26, 2026 at 8:40 pm

    While the link http://www.zeitoun.net/articles/comet_and_php/start provides two simplistic example implementations using an infinite loop in PHP, I would like to know more on the repurcussions of the above methods and if it is suitable for production.

    This solution is one of the factors that has resulted in the concencus that PHP and Comet/WebSockets don’t scale. See:

    • solution for COMET and PHP
    • Using comet with PHP?

    What advantages do dedicated comet servers like Meteor(http://meteorserver.org/) , streamhub (http://www.stream-hub.com/), freeliberator (http://www.freeliberator.com/index.php) ?

    The advantages are that these solution were built with the idea of handling multiple concurrent connections in mind. They also provide libraries which offer additional functionality such as pub/sub which you are likely to want and therefore have to implement yourself. I worked for Caplin Systems who built the Liberator product and it’s a highly tuned software solutions built entirely to handle and solve this solution.

    Also how different is Comet server side push from HTML5 web socket facility ?

    Answer taken from here:

    Comet is an umbrella term and there are many "Comet Servers" (see
    below) that use WebSockets as the transport mechanism when possible.
    Comet servers don’t just use AJAX, XHR Long-Polling, Forever-Frame
    etc. They now use WebSockets and fallback to other transport
    mechanisms where required.

    Here are just some of the "Comet Servers" that use WebSockets:

    • StreamHub:
      http://streamhub.blogspot.com/2010/12/html-5-web-sockets-arrives-in-streamhub.html
    • APE ("Native WebSockets"): http://www.ape-project.org/
    • Caplin Liberator: http://www.caplin.com/caplin_liberator.php
    • MigratoryData: https://migratorydata.com/
    • CometD: http://cometdproject.dojotoolkit.org/documentation/2.x/howtos/websocket

    My principle objective is to build a variant of collaborative real time document editing facility.

    I’d recommend that you don’t try and implement a solution for Comet/WebSockets from scratch. It’s a very well understood problem with a number of excellent solutions. And the solution still isn’t simple to implement from scratch. The interesting problem you’ll need to solve is one of state synchronisation across multiple clients so the great thing about these existing realtime technologies is that you can use them and concentrate on building your app.

    Possibly also of interest:

    • XMPP BOSH v Comet
    • Realtime Web Technologies Guide
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been developing server side applications in java, and now I have been
I've been developing web applications for 2 years now, and have been into simpler
I've been developing Web applications for a while now and have dipped my toe
I have been developing simple web services and clients using JBoss but now I
Hi and thanks for looking! Background I have been developing .NET Web applications for
So I have been developing a small ASP.NET web app in C# for my
I have been developing with objective C and the Cocoa framework for quite some
I've been developing Microsoft Windows based applications (both desktop and web) for several years
I have been developing a test framework for a particular client/server product (COTS) that
I'm coding some web-applications in MVC, and I have a problem with something that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.