comet

ASP.Net MVC & Comet (WebSync)

I'm trying to implement comet in my ASP.Net MVC 2.0 project. I'm using WebSync from FrozenMountain. My website is coded in C# 4.0 and ASP.Net 4.0. The comet code is triggering my MVC controller function with the [HttpPost] attribute (even though the page doesn't refresh or appear to post). Is there a way to determine what is being post...

Best choice for Long-polling / Comet in Java or C#?

Which native server is best, in your opinion, to implement long-polling / Comet? The first target application is chat, but there will be other implementations - we basically need push-to-client capabilities. I'm limiting the answers to C# or Java because these two technologies are dominant at my workplace. The requirements are as usual:...

what kind of technology is node-chat using

This is the node-chat I'm inquiring about: http://github.com/scottgonzalez/node-chat How are the messages being passed to the server? websocket comet ajax? How does it work? Is what it's using scalable? Thanks. ...

facebook like Notificaton system in mvc2.net

hi everyone, i m developing an application in asp.net 3.5 using mvc2. i want to implement facebook like notification system based on server push or comet. i have no idea where and what to start with. i have read about Pokein but don't know how to integrate it with mvc. any suggestions are held highly thanks Adeel ...

IFrame Comet response contains no data

Hi. I'm experimenting with Comet and I'm stuck with implementing it via a hidden IFrame ("forever frame". This is my index.html: <!DOCTYPE HTML> <html> <head> <script type="text/javascript"> cometResponse = function() { var debugOut = document.getElementById('debugOutput'); return function(response) { ...

Session/authorize comet on Nginx HTTP PUSH

The Nginx approach to HTTP PUSH is relatively simple. There are 3 party involve: Subcriber (receiver), Publisher (sender), and the server itself act as multicast server. Nginx can also separate into different channel with different channel ID that user can access. But I still don't know how to authorize/limit content only for logged in...

Comet Iframe blocked by firewall?

I have a website using iframe comet, most of the users have no problem using it at home. However for a lot of user that use the website in office, the streaming data seems unable to reach the client. Could it be possible that the corporate firewall block this kind of long persistent connection to port 80?? Any suggestion to solve this pr...

Ajax Upload fails with Ajax Push Engine (APE server) enabled

Whenever I disable the APE comet Server, AJAX file uploads run properly. And when enabled, the response.responseText from PHP is not parsed. This problem has been bugging me since about more than a month. There's another person here with the same problem: http://stackoverflow.com/questions/3012636/can-not-use-ajax-upload-because-of-ape...

When will a framework be available for Comet?

I wonder why it's so difficult to set up a server for live notifications with Comet. Will this ever be implemented in existing frameworks like Rails? It's popularity is huge, but it's still not easy to get it up and running. What options are there for Rails applications today? Thanks ...

Pushing messages to clients from a server-side application?

I have a javascript-based client that is currently polling a .NET web service for new content. While polling works...I'm not happy with this approach because I'm using system resources and creating overhead when there aren't any changes to receive. My question is how do I notify my client(s) that there is new content for it to displa...

Scala Comet and Mobile Applications

I'm exploring using Scala with its Comet facilities for my next project and was curious if anyone had experience using Comet (not necessarily Scala) with: WebOS Android iOS All these phones are WebKit, which should mean that my Firefox tests would work equally well, but I don't know how long-polling connections work over 3G (or wheth...

Glassfish comet problem

Hi, When deploying our portlet in liferay with glassfish set up with comet support enabled we get malformed http responses - seems like requests are not corelated with responses. For exemple - for an http request for a css we may get a image back that was requested by other http request. Our portlet is a jsf enabled portlet using JQuer...

How to write a simple server-push implementation in Python using django?

Hello, I would like to write a simple server-push implementation either using long pooling or comet that integrates into the server. I don't want to use a networking framework like twisted because I want to learn how everything is done internally. What exactly should I learn? What specifications should I look at? I prefer something that ...

Building a comet server from twisted.web, for a twisted.web site.

So I have a website already set up, and I need a comet server for a chat application. The site is built with twisted.web, and I want to build the comet server with twisted as well since I'm already somewhat familiar with it. But I'm not sure how to do it. I've looked at this post and understand the mechanics in the code snippet -- but I...

HTML 5 Websockets will replace Comet?

It looks like Websockets in HTML 5 will become a new standard for server push. Does that mean the server push hack called Comet will be obsolete? Is there a reason why I should learn how to implement comet when Websockets soon (1-2 years) will be available in all major browsers? Then I could just use beaconpush or pusher instead till ...

Web sockets use a lot of resources like comet long polling?

I know that Comet long polling are bad for Web servers because they occupy one thread per connection. So you cannot have a lot of users with persistent connections or your web server will crash. Is this the same with web sockets in HTML 5? How could this solve the resource problem if it occupies one thread too per persistent connection...

notifying the server (XMLHttpRequest?) on the onunload event?

Is it possible to notify a server (make a single HTTP request with a bit of data, response is unimportant) when client leaves the page? I'm actually using python-tornado comet application with javascript constantly keeping a request connection to the server (which gets closed and re-opened on event. Based off this: https://launchpad.net...

Using HTTP long polling when sockets are available (e.g. iPhone, Blackberry)

I'm currently writing a simple cross platform app with Node.js on the server and web/iPhone/Blackberry clients. Bandwidth and latency requirements are similar to something you would see in an IRC "party game" or any chat system. I've developed the web client using http long polling (speaking JSON both ways). For iPhone/blackberry I coul...

Throbber of Doom in Chrome/Safari

Hi, Is there any way in JavaScript to Stop throbber of doom in Chrome/Safari browsers, when using push technology (Ajax Comet) with iframe. ...

hosting a simple chat on google app engine

use case: 5 - 30 users simultaniously on a chat. is it a good idea / is it possible to code this on google app engine? ...