comet

Developing a high-performance, scalable Comet application

Well, the title says most of it. I'm looking to develop a chat application that will hopefully become something more, and currently I'm considering my options for what I should build it on top of. I've taken a look at Tornado with Redis as my primary option - Tornado, being a Comet server, is perfect for long polling to retrieve the mes...

Is there an open source cross-platform push server?

I'm currently in need of a (preferably open-source) free push server, that supports both linux and windows. I need something similar to the Ajax Push Engine, but that project unfortunatelly does not work on windows (I could use a virtual machine, but that's not what I'm looking for). I need to be able to push information to/from a pytho...

Some basic Comet/Jquery questions?

My questions are: What's a meta, what do subscribe and unsubscribe do, and what does startBatch/endBatch do? ...

Fast single thread comet server, possible?

I recently encountered a few cases where a server would distribute an event stream that contains the exact same data for all listeners, such as a 'recent activity' box. It occurred to me that it is quite strange and inefficient to have a server like Apache run a thread processing and querying the database for every single comet stream c...

full duplex communication over the web w/o flash sockets

A web application I'm helping to develop is faced with a well-known problem: we want to be able to let users know of various events and so forth that can occur at any time, essentially at random, and update their view accordingly. Essentially, we need to allow the server to push requests to individual clients, as opposed to the client as...

how to trigger notification from other framework in atmosphere (comet)?

basically i have read some samples, but all are self contained in one servlet. such as: use doGet to establish the long polling connection, and then use doPost to trigger the event to notify all suspended connections. Here is my question: I have other web actions programming in spring mvc, in the spring mvc controller a user post a mess...

using thin for long-polling connection

since it's threadless, would the ruby-based thin be okay? ...

Comet for User based Notification over a Message Queue

We trying to build application that should use Comet (AJAX Push) to send notifications to individual users. Most notifications will have a fairly low timeout. As we are running RabbitMQ, it would be easiest to send messages through AMQP. I am wondering what the best way to address individual users is, so that both the Comet server and t...

Registering with a URL for asynchronous notifications?

I am trying to understand more about async notifications. I have a URL in the form of: http://www.sample.com/AsyncNotify?sessionId=xxxxxx Now if I call this URL with the sessionId, it is equivalent to registering for Asynchronous notifications. I am using Apache HTTP Commons library to do Http Post and Get. If that's the case, then ho...

Comet framework for Django

What is the easiest way to implement HTTP push (comet) on Django? Are there any existing frameworks? Simple examples would be great. ...

Is this the right way to write a Comet client?

I started using x-socket for writing a simple Comet client that can connect to a server implemented using grizzly comet with the goal of maintaining a persistent connection on which the server can push updates to the client. I wrote the following but I am not sure if this is the right way of doing it because I am not able to see any upda...

Online chat - Ajax poll or Reverse Ajax

Hi all, after an entire day of searches, I would to talk about the best solution for an online chat. This is what I know: Ajax poll is the old, bandwith consuming, and not scalable way of doing it. It makes a request for new data to the server every X seconds. This implies one database query every X seconds * number_of_connected_users....

Comet on python

I am pretty new to web programming in python. I am interested to build a chat room on browser. (for prototype). I know django pretty well and have done a bit of twisted in the past. Then I came across orbited. It's pretty badly documented (I don't think that actually qualifies for documentation anyway), but these terms seems to pop up...

Does long polling really work better than periodic ajax poll?

The overhead for long polling is http connection establishment, also on server side the JEE server has to hold a lot of suspended requests. For periodic polls with 10/20 seconds interval, it will work worse than long polling? ...

Tomcat Comet - why flushed data doesn't arrive on browser?

Hello everyone, I have an aplication which uses tomcat runtime. I've implemented its comet example and i'm having some problems to recognize why doesn't server's data arrive on browser after I use the flush method from the PrintWriter of the ServletResponse. The biggest confusing thing is that sometimes it just works. I don't understand...

How would I implement COMET for my (Flash) browser-based game?

Hi eveyrone, I am currently trying to write a browser-based game that allows multiple users to navigate in a 2D map. It's RPG based and requires COMET as a technique for two users appearing and interacting on one screen, should they happen to appear in the same frame. Also, in the game, I am embedding the maps within the SWF file, but ...

How to check the number of open connections in node.js?

Hello there! I have a machine running node.js (v0.1.32) with a tcp server (tcp.createServer) and a http server (http.createServer). The http server is hit by long polling requests (lasting 50 sec each) from a comet based application on port 80. And there are tcp socket connections on port 8080 from an iphone application for the same pur...

How do I implement a Comet Programming technique (AJAX long polling)?

Current Project Setup I'm prototyping an online chat system similar to Facebook chat, using PHP, AJAX, a lot of jQuery, and a MySQL database. I'm developing on an Apache Server 2.2.14 (all local... working on a MacBook Pro 10.6.4). The way I listen for incoming chats and check for new messages in an existing chat is by doing: setTime...

WebSocket and CGI/FastCGI/SCGI protocols

Hello, I'm looking for resources about interaction between client side web socket, web server and real application backend that works behind CGI, FastCGI or SCGI protocols. It seems that this is impossible at this point as: Request length is specifically defined in CONTENT_LENGTH variable so I can't expect that the data would continue...

Web Chat Application - ASP.NET/Jabber/Ajax/WCF/Comet/ReverseAjax - Issues Faced - Seeking Insights

Hello I've been trying to build a web based chat application for the past three weeks and i'm facing issues with whatever route (programming technique/technology) i take to build it. I've explained the issues i've experienced with all of'em below. Kindly provide whatever insights you have in this. ASP.NET-AJAX First issue is that it ...