Questions tagged [comet]

Comet technology is a versatile tool that enables the seamless transmission of data from a web server to connected clients without the need for explicit requests. Unlike traditional web connections where the client has to initiate each data retrieval process, Comet allows servers to proactively send information to clients in real time. Various methods can be employed to implement Comet, such as long-polling, callback-polling, forever-frame, and more.

Is there a way to receive live updates for records in real-time using push notifications?

I am in the process of developing a Ruby on Rails ecommerce platform that enables potential customers to place orders while allowing the store owner to receive them instantaneously. Once an order is finalized, it will be saved into the database (currently ...

Is Microsoft currently developing or backing any solutions that can enhance the scalability of AJAX Comet technology?

There seems to be a lot of discussion surrounding ajax comet in various questions and articles. I came across some information suggesting that it may not be very scalable with ASP.Net, but there are links available to enhance its scalability. I am curious ...

updating numerous div elements using the jQuery load function

My SQL database contains various data, and on my webpage, I have numerous divs (around 30) showcasing this information. Each div corresponds to a different value in the database. My goal is to dynamically refresh these divs using the jQuery item.load() f ...

What is the most efficient method for fetching data from the server at regular intervals of 30 minutes?

As I search for a way to automatically update my webpage with fresh data from the server, I am faced with uncertainty regarding the frequency of these updates. The intervals could range anywhere from every 10 minutes to an hour, which makes it challenging ...

The Implementation of Comet Programming

I'm interested in creating a web application similar to Google Docs where multiple users can edit and view changes in real-time. Would Comet Programming be the best approach for this? As a newcomer to Web Development, I'm currently learning JavaScript, Aj ...

Challenge with neglected open connections from a comet

Utilizing various comet techniques like long polling and forever frame, along with iframes for cross subdomain activities, has presented a challenge during implementation. When a user refreshes the page or navigates to another page, a new request is made w ...

What other ways can websockets be utilized besides comet?

Websockets offer a more efficient solution for comet (reverse Ajax, often achieved through long-polling). However, are there other ways we can utilize websockets? For instance: - Can websockets be used to facilitate communication between different bro ...

Real-time charting with JQuery without using comet technology

Are there options for implementing real-time ajax charts with jQuery without requiring a comet server setup? I've come across plugins that promise real-time functionality but ultimately rely on setTimeout(). What are your thoughts on this? I'm l ...

Can Comet be implemented without utilizing PrototypeJs?

Can Comet be implemented without utilizing PrototypeJs? ...

Refresh the user interface using AJAX triggered by a PHP call

I am currently working on a script that is responsible for sending out newsletters. The way it works is when the user clicks "send," an AJAX Request is sent to sendMail.php, which then takes the message and distributes it to all users listed in a database. ...

What is the method by which a server sends data to a client in long polling without the client

My current method of requesting data from the server via ajax in intervals feels too easy and lazy for achieving real-time effects. I am now considering switching to long polling or comet techniques because they encourage the server to push data when avai ...

Anti-virus programs are preventing long-standing AJAX connections

Hey there, I have come across something quite strange while developing a web application that relies on long-held HTTP connections using COMET to stream data between the server and the application. The issue I've encountered is that some anti-virus p ...

What is the best way to incorporate real-time push notifications on my website?

My website consists of two main parts. One part is utilized by individuals labeled as X, while the other is reserved for those identified as Y. When a person from group X requests assistance, members of group Y promptly respond with an estimated time of ...

Shooting Star, Dynamic Data Update, Bi-Directional Data Transfer

Does anyone have a sample of a Comet app in .NET that demonstrates how to persist the client's connection on the server? ...

What is the ideal number of child processes to fork() in a node.js application?

I have a simple question that may require different variables to answer. Currently, I am exploring node.js and considering how to implement it in a multi-core architecture. The latest version of node.js offers child_process.fork() and child.spawn() metho ...

Implementing cross-browser COMET in node.js

As a beginner in node.js, my goal is to create an online chat platform that can handle 1000+ participants simultaneously. I am in need of a cross-browser demo that is compatible with IE7 and Android. My main concern is the client-side cross-browser functi ...