when i use comet iframe i just send script tags from backend php file to front end and javascript is displaying it.
can someone explain briefly where a comet server comes up in the picture and how the communication will be between frontend (javascript), backend (php) and the comet server.
cause i read that if you are going to let a lot...
they are both free but i think glassfish has some limitation or when you reach up to a certain nr of users (comet) then you have to pay? is that correct?
if true, could you use tomcat as a comet server?
if not, then which free comet servers are there supporting long polling and iframe?
...
I'm trying to implement comet style features by polling the server for changes in data and holding the connection open untill there is something to response with.
Firstly i have a static variable on my controller which stores the time that the data was last updated:
public static volatile DateTime lastUpdateTime = 0;
So whenever the ...
A web server opens a temporary port while sending the response to the clients. In the case of comet programming(streaming), if the response from web server is never going to end, does that mean the web server will always keep the temporary port open for infinite period ?
...
I'm looking to create a web application that's very modular, and was pointed to the actor model by a friend. After investigating it a little, I realised that developing just the back-end using actors wasn't a bad idea at all, but I also came to the conclusion that having client-side actors would be useful: rather than create pages which ...
i've read that php doesn´t scale well if a lot of users are using your comet implementation? is that because of the apache server or the php language?
what is a socket server and does it fix that problem?
someone that has set up a php comet server for a lot of users that could give some advice?
...
i´ve read that one of the implementations of comet in your php application can be hookbox.
however, on their page i can´t download the stuff.
http://github.com/mcarter/hookbox
is the project dead?
...
im going to use ajax/comet to create a chat. and i want to store the chat conversation.
every keypress will trigger an event that sends to backend.php that will store the letter. i wonder if i should store it directly in the database or in the textfile.
you dont have to consider the details for exactly how this chat's architecture will...
I am interested in a really good way of doing instant messaging like meebo and facebook and myspace all have, also for notifications on a page. Example on my site now, when a user receives a new mail message, photo comment, profile comment, friend request, some other things, they will receive a notification message and link on the page ...
I come from a multimedia background as opposed to a pure-CS background so I would find a heavy CS-paper about subjects like algorithms hard to review.
I'm interested mainly in web technologies, particularly areas like web standards, push technologies (comet, web hooks etc..), social graphing, online data portability. Other topic suggest...
Its feature is so called "server push", which google wave seems also leverages.
Can someone explain this concept by code snippet how it actually works in web application?
...
I wander how do client side get response if the connection of request is not finished yet?
What's the principle?
In fact I've read quite a few posts on this subject:
http://stackoverflow.com/questions/333664/simple-long-polling-example-code
http://stackoverflow.com/questions/932415/how-does-the-live-real-time-typing-work-in-google-wa...
So someone's selling a comet chat solution:
http://www.cometchat.com/
But I think it might be a misnomer, because I don't think it actually uses comet.
Can someone confirm whether or not it's actually a comet based chat, or just o' ajax.
Thanks.
...
Hi,
In Comet/Reverse Ajax/PubSub underlying technology/fundamental is Long polling. So connection is kept open for a minute or so..
And as per my little knowledge about networking and OS, TCP/IP supports only 65535 ports, so my question is how any server can support more then 65535 connections concurrently?
In application I am building...
What are the benefits of using iframes for Comet long polling? Why not just keep an asynchronous ajax request in a script file pulled into the main page? Thanks.
...
My site needs a chat room, and I'm also looking to implement a facebookesque person to person chat system.
What is most cost-efficient/performant (purely in terms of bw and server) for me. A regular 1 second poll ajax chat, or a comet solution.
Thanks.
...
if i write the comet push with php but use this code on a java server via quercus, will that solve the one process per request problem that apache had and scale well with lot of users using my chat?
...
Hi,
Is there a way in javascript of stopping an iframe in the middle of loading a page? The reason I need to do this is I have a background iframe streaming data from a web server (via a Comet style mechanism) and I need to be able to sever the connection at will.
Any ideas welcome.
...
I'm trying to push packets of data from my HTTP server to a browser, using a Comet "forever iframe" and feeding it script tags from the server using the Transfer-Encoding: chunked header. What I'm finding is that my script tags aren't being interpreted right away, and I have to send a number of chunks before the browser starts to respon...
i want to push data to user browser if an event happens on browser. with commet programming we can do this.
http://en.wikipedia.org/wiki/Comet_%28programming%29
are any good tutorials available on net??
...