Все вопросы: [comet]

104 вопросов

похожие теги:
3
голосов
1ответов
663 просмотров

PHP code for orbited comet server and stomp

After long searching of comet server, i choose orbited comet server. I have to build a real-time chat system in PHP using Orbited Comet Server and Stomp PHP client. It does not handle hundreds or thousands of simultaneous connections. How could i solve this problem? Is there any other librar...

0
голосов
1ответов
377 просмотров

what is Orbited?

from my understanding obited can do both comet and xmpp ? it is better than using typical comet library dwr right?

1
голосов
1ответов
897 просмотров

How to do HTTP Server Push -- aka do I NEED STOMP, AMPQ, etc?

I am writing a collection of web services, one of which needs to implement server push. The client will be native Objective-C. I want this to be as simple, fast, and lightweight as possible. The data transmitted will be JSON. Is it possible to do this without using a message broker?

1
голосов
2ответов
185 просмотров

Why do we need Comet or HTTP polling when we aren't using a browser?

If you have total control of both ends of the wire (client and server), why do people suggest using Comet or HTTP long polling? I understand when you only have a browser as it can only communicate over HTTP. People say you need to do this to beat firewalls because port 80 will be open. But why n...

1
голосов
3ответов
715 просмотров

Basic Comet in Python using just std lib

I'm developing a web interface for an already existing desktop application. I've been looking for a way to allow the server to push content to the browser and ended up reaching Comet. Navigating through the internet, and most of the questions here, I got answers like twisted, orbited, tornado an...

2
голосов
1ответов
820 просмотров

PHP code on orbited comet server

Where can I find the PHP sample code for orbited comet server v0.7? I think that I have to build another server together with orbited server in order to support the comet function. Am I right? If so, how can I build up that server?

23
голосов
7ответов
11157 просмотров

The latest recommendation for Comet in Python?

I'm going to be implementing Comet in Python (even though I hear good things about erlycomet I'm not thrilled about supporting an Erlang-based web server in addition to everything else in our back end). I've found several possibilities: Diesel Tornado Twisted-comet Orbited (uses twisted) (t...

0
голосов
2ответов
1690 просмотров

Comet, Tomcat and READ events

Trying to get my way trought Comet with Java servlets, I encountered a big problem: There seems to be no way to use the established connection to the client to send the server additional data from the browser (works in plain java when writing to the inputstream). Following problem arises for a C...

3
голосов
7ответов
32278 просмотров

Flex: HTTP request error #2032

In Flex 3 application I use HTTPService class to make requests to the server: var http:HTTPService = new HTTPService(); http.method = 'POST'; http.url = hostUrl; http.resultFormat = 'e4x'; http.addEventListener(ResultEvent.RESULT, ...); http.addEventListener(FaultEvent.FAULT, ...); http.send(par...

0
голосов
1ответов
86 просмотров

Mapping Asp.net cookies to users

If one has access to both the Asp.net membership DB (the standard SqlMembershipProvider db, generated with aspnet_regsql.exe), and the respective asp.net client's cookies, is it possible to correlate the two to identify the user from the cookies? Background (in case this seems like a hacking att...

0
голосов
1ответов
1282 просмотров

Proper way to decode response in Dojo cometd java client

I want to push arbitrary XMLEncoded java objects back and forth using Dojo cometd channels, and I have a problem decoding the payload properly. In order to do this I have this send method in a stripped down version of the chat room client demonstration program: private void send(String string) ...

2
голосов
1ответов
632 просмотров

what this error means? [Erlang, mochiweb, MySQL]

I made a comet chat server with Erlang and Mochiweb. And I run the "./start-dev.sh" to start the server. But after about 1 month I got the following error: =ERROR REPORT==== 26-Sep-2009::09:21:06 === {mochiweb_socket_server,235, {child_error, {badmatch, {error, ...

3
голосов
2ответов
463 просмотров

Is there a way to test Comet applications without a running browser?

I'm trying to connect to an application that uses Comet and is pretty heavy on Javascript and Comet. I've gone as far as I can go in Firebug, HTTP Header examination and am trying to see what's coming over the wire by writing something using Ruby Mechanize. However, since I have no client run...

0
голосов
2ответов
238 просмотров

what code should be for comet application on server side

I am working on a chatting application and i was using simple ajax polling to retrieve the new chat but its working good because there are few more xmlHttp request to check online status and to send chat to others and some for other reason, so i think there are many request in my form thats why i...

0
голосов
2ответов
1217 просмотров

AJAX, Server Push implementation questions

I'm relatively new to the whole AJAX way of doing things so please excuse me if I'll mix two different things (although I'd appreciate it greatly if you could comment me on that). My question is this: I have many web clients (lets say around 1500) whom I want when starting up to "subscribe" to th...

3
голосов
3ответов
1941 просмотров

Is it possible to "multiplex" many AJAX requests from the same page?

I have a page that already makes multiple AJAX requests at the same time. They use the Comet model, so there are always multiple HTTP connections open, waiting for more data from the server. As the page gets more complex in the future there may be even more. I'm concerned about opening too many c...

2
голосов
3ответов
621 просмотров

Doing an embedded HTTP server with Comet

I love the idea of Grizzly, but I can't find any good examples to work with. Well, any good tutorial... I want to have an embedded HTTP server that I can talk to from Dojo. I don't want a J2EE server and I want to use Java. What do you folks think?

6
голосов
2ответов
2588 просмотров

Can XMPP be used like Comet's http long wait?

Can XMPP be applied in a similar way to the reverse Ajax pattern? Can it be used to implement http long wait like Comet? Is there an example of using such a technique with XMPP?

8
голосов
2ответов
1746 просмотров

comet vs pubsub..?

may i know what is the different between these 2 approach ? can explain in lay man terms?

2
голосов
1ответов
624 просмотров

dwr comet approach

from http://directwebremoting.org/dwr/reverse-ajax/index.html , it stated it supports polling, comet,piggyback. does that mean when we implement this approach, we can change to this 3 options in configuration without changing codes? what does dwr implement different from atmosphere api? dwr can ...

2
голосов
2ответов
1874 просмотров

HTTP Proxy/FastCGI/SCGI not closing connection when client disconnected - bug or feature?

I'm working on Comet support for CppCMS framework via long XMLHttpRequest polls. In many cases, such request is closed by client before any response from server was given -- for example the page is closed, user moves to other page or it is just refeshed. At the server side I expect that I would ...

0
голосов
1ответов
742 просмотров

use atmosphere api or use grizzly directly?

i cannot see the different between using atmosphere api or use grizzly directly? can explain?

5
голосов
2ответов
2548 просмотров

What is a safe amount of time that I can wait before responding to a browser, without getting a Timeout?

I'm making a chat application that works with long-polling to emulate a "push" from server to client. Basically, the browser asks for updates, and I reply if there's something new. Otherwise, I keep the connection open without responding until there is something to send back. Now, if 30 seconds...

4
голосов
1ответов
1855 просмотров

A message queue model in Erlang(Comet chat)?

I am doing Comet chat with Erlang. I only use one connection (long-polling) for the message transportation. But, as you know, the long-polling connection can not be stay connected all the time. Every time a new message comes or reaches the timeout, it will break and then connect to the server aga...

33
голосов
7ответов
49714 просмотров

Simple comet example using php and jquery

Can anyone give me a good and simple example of the comet technique using PHP? I just need an example that uses a persistent HTTP connection or something similar. I don't want to use a polling technique, because I have something like that set up and not only is it difficult to work with and man...

25
голосов
6ответов
11506 просмотров

Implement Comet / Server push in Google App Engine in Python

How can I implement Comet / Server push in Google App Engine in Python?

5
голосов
2ответов
1378 просмотров

Comet, responseText and memory usage

Is there a way to clear out the responseText of an XHR object without destroying the XHR object? I need to keep a persistent connection open to a web server to feed live data to a browser. The problem is, there is a relatively large amount of data coming through (several hundred K per second con...

1
голосов
3ответов
1496 просмотров

Performance of dojo (logging, comet, sliders)

I have some performance issues in my JavaScript, and I'm not having much success instrumenting it. One of the things I've tried is using firebug's profile tool. It reports that the top single call was to dojo's log(). Unhelpfully, it reports a line number from the compressed script, so I can't...

0
голосов
1ответов
126 просмотров

Maximum server file access frequency

I'm trying to create a AJAX push implementation in PHP using a Comet long-polling method. My code involves using file_get_contents() to read a file repeatedly to check for any messages to send to the user. To reduce server load, I'm using two text files; one containing the actual command and one ...

4
голосов
4ответов
3885 просмотров

Problem of choosing comet server

I want to write a php site which uses the comet technology for real time update. I have a few questions: Is it better to use a comet server? Which comet server is good? For comet server (e.g. orbited), I have to first install the python based orbited server and then write php file to create so...