Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which one is the best COMET server?

Tags:

jquery

php

comet

I'm looking for a COMET server, i want to push messages from the server specifically to some users with some id's, i'm using php and i'm looking for a good and easy COMET server.

Could you tell me which one is the best?

like image 335
gustavomanolo Avatar asked Mar 29 '11 04:03

gustavomanolo


People also ask

How to configure the appearance of the Comet server web interface?

In cometd.cfg, this field can be set in the License section > SerialNumber property. You can configure the appearance of the Comet Server web interface. The top-left section of the Comet Server can be configured to display either a Comet brand logo, custom text, or a custom image.

What ports does the Comet server listen on?

The Comet Server can listen on multiple addresses, ports, and interfaces. If you are updating an existing Comet Server's network address, also see Updating Comet Server Network Address/URL Considerations documentation. By default, the Comet Server listens for connections on 127.0.0.1 port 8060.

Can I use Comet backup to back up the Comet server?

Because Comet Backup's normal operation requires access to a running Comet Server, if the Comet Server itself is unavailable, it is not possible to use Comet Backup to back up the Comet Server itself.

What is the default hostname for a Comet server tenant?

When the Comet Server web interface is accessed from the configured hostname, the tenant's own branding will be used. In the tenant configuration, the hostname should be specified as a plain domain name only, such as tenant.com, and excluding any port (e.g. :443) or protocol (e.g. https:// ).


2 Answers

This is subjective without more details. We've looked at APE, Node.js implementations, and others- all offer slightly different strengths / weaknesses.

If you're only interested in the functionality and don't want to develop the competencies or own the responsibilities of managing your own comet server there are fairly mature 'Comet' as a service offerings. I've used Pusher on a recent project, it delivered everything we needed and might be a good place to start.

like image 152
RSG Avatar answered Nov 14 '22 16:11

RSG


The choice of the comet server depends on the kind of app you are developing. If you have plans of porting your app to mobile platforms in the future , then you can go for WebSync. This is simple to use, provides a simple API for you to publish from a javascript client, from PHP, from iOS client and also from a .NET client. Also, you can use Websync either as a server or on-demand. But, the thing is, WebSync's free version allows only upto 10 concurrent clients. If you want more, you will have to purchase.

I have also looked a little bit into APE. This is completely open source and all your code has to be written in Javascript which may be a little inconvenient in some cases. Make your choice depending on your needs

like image 24
CuriousCoder Avatar answered Nov 14 '22 16:11

CuriousCoder