[web2py] Re: How hard it is to do Non-WebSocket Comet (Long Polling)

2011-06-18 Thread Gregory Hellings
Shouldn't take too much work. In my blog post you can see (and download) a version of comet_messaging.py that works with tornadio. If you want to read in from the Socket.io you'll need to modify it accordingly, but it sounds like it should be straightforward for what you're doing (receiving bursts

[web2py] Re: How hard it is to do Non-WebSocket Comet (Long Polling)

2011-06-18 Thread Massimo Di Pierro
You can get them to work on any browser using a flash plugin. On Jun 18, 4:59 am, Phyo Arkar wrote: > Thanks a lot all. > > I am looking intohttps://github.com/kmike/tornadio, quite interesting . > > Main reason i dont want to use websocket due to not standardsized yet and > all browsers working

Re: [web2py] Re: How hard it is to do Non-WebSocket Comet (Long Polling)

2011-06-18 Thread Phyo Arkar
Thanks a lot all. I am looking into https://github.com/kmike/tornadio , quite interesting . Main reason i dont want to use websocket due to not standardsized yet and all browsers working (and i can't tell them not to use this browser only this browser) . Yes the problem of only 2 ports can be so

Re: [web2py] Re: How hard it is to do Non-WebSocket Comet (Long Polling)

2011-06-18 Thread Phyo Arkar
Thanks a lot massimo , i see the limitation of wsgi now. Thats why Rocket can't do. On Sun, Jun 12, 2011 at 9:04 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > If you want to do long-polling you need an async server, not rocket > because wsgi does not support async. Look into web2py

[web2py] Re: How hard it is to do Non-WebSocket Comet (Long Polling)

2011-06-13 Thread Gregory Hellings
On Jun 13, 10:20 am, Anthony wrote: > On Monday, June 13, 2011 11:14:23 AM UTC-4, dspiteself wrote: > > > 1. You could modify massimo's commet_messaging.py to use > >https://github.com/kmike/tornadio. It also uses tornado but is based > > on socket.io and gives you the choice of the following tr

[web2py] Re: How hard it is to do Non-WebSocket Comet (Long Polling)

2011-06-13 Thread dspiteself
Thank you for saving me some time. On Jun 13, 10:20 am, Anthony wrote: > On Monday, June 13, 2011 11:14:23 AM UTC-4, dspiteself wrote: > > > 1. You could modify massimo's commet_messaging.py to use > >https://github.com/kmike/tornadio. It also uses tornado but is based > > on socket.io and gives

[web2py] Re: How hard it is to do Non-WebSocket Comet (Long Polling)

2011-06-13 Thread Anthony
On Monday, June 13, 2011 11:14:23 AM UTC-4, dspiteself wrote: > > 1. You could modify massimo's commet_messaging.py to use > https://github.com/kmike/tornadio. It also uses tornado but is based > on socket.io and gives you the choice of the following transports: > WebSocket > Adobe® Flash® Soc

[web2py] Re: How hard it is to do Non-WebSocket Comet (Long Polling)

2011-06-13 Thread dspiteself
1. You could modify massimo's commet_messaging.py to use https://github.com/kmike/tornadio. It also uses tornado but is based on socket.io and gives you the choice of the following transports: WebSocket Adobe® Flash® Socket AJAX long polling AJAX multipart streaming Forever Iframe JSONP Polling 2.

[web2py] Re: How hard it is to do Non-WebSocket Comet (Long Polling)

2011-06-12 Thread Massimo Di Pierro
If you want to do long-polling you need an async server, not rocket because wsgi does not support async. Look into web2py/gluon/contrib/ comet_messaging.py On Jun 12, 5:18 am, Phyo Arkar wrote: > Hello all; > > In my project i have to process files HUGE Gigabyte files . on the server. I > look in