Re: [web2py] Re: Implementing tornado chat server with web2py

2012-11-19 Thread Ovidio Marinho
look is this http://vimeo.com/38972256 Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com ovidiomari...@itjp.net.br ITJP - itjp.net.br 83 8826 9088 - Oi 83 9334 0266 - Claro

Re: [web2py] Re: Implementing tornado chat server with web2py

2012-11-19 Thread dederocks
Regarding the error 426 mentionned, I don't know if you tried to use chromium instead of chrome. At least I has the 426 error in chromium, but NOT with chrome. Hope this helps. Le jeudi 19 janvier 2012 17:23:53 UTC+1, Phyo Arkar a écrit : > > Websocket is not ready , it is just a draft protocol.

Re: [web2py] Re: Implementing tornado chat server with web2py

2012-01-19 Thread Phyo Arkar
Websocket is not ready , it is just a draft protocol. i wont recommend any serious use on it. On Wed, Jan 18, 2012 at 6:57 AM, Abhishek Gupta < abhishekgupta.i...@gmail.com> wrote: > I implemented a similar solution, but the user keeps on getting > disconnected from the tornado server. This happe

[web2py] Re: Implementing tornado chat server with web2py

2012-01-17 Thread Abhishek Gupta
I implemented a similar solution, but the user keeps on getting disconnected from the tornado server. This happens frequently with chrome. Any guesses, so as why the user is being disconnected so often (in every 4-5 secs).

[web2py] Re: Implementing tornado chat server with web2py

2012-01-05 Thread Red Arrow
for chatting, usually use XMPP like Gtalk or facebook chat. If choosing between gevent or tornado, gevent can handle better than tornado. http://nichol.as/benchmark-of-python-web-servers On 5 Tháng Giêng, 09:01, Khalil KHAMLICHI wrote: > looks like websockets dont work any more with the couple ch

Re: [web2py] Re: Implementing tornado chat server with web2py

2012-01-04 Thread Khalil KHAMLICHI
looks like websockets dont work any more with the couple chrome/tornado => error : Unexpected response code: 426 attached image from dev. tools in chrome. <>

Re: [web2py] Re: Implementing tornado chat server with web2py

2011-12-06 Thread Anthony Bastardi
On Tue, Dec 6, 2011 at 1:15 PM, Saurabh Kumar wrote: > Thanks again for the reply. > The chat room thing is OK. Instead what I am concerned about is if the > code is efficient enough to handle thousands of request. > It should be. That's why Tornado is used -- it is a non-blocking web server. See

[web2py] Re: Implementing tornado chat server with web2py

2011-12-06 Thread Saurabh Kumar
Thanks again for the reply. The chat room thing is OK. Instead what I am concerned about is if the code is efficient enough to handle thousands of request. Saurabh On Dec 6, 8:59 pm, Massimo Di Pierro wrote: > For a chatting server  comet_messaging.py  is all you need. It already > support grou

[web2py] Re: Implementing tornado chat server with web2py

2011-12-06 Thread Massimo Di Pierro
For a chatting server comet_messaging.py is all you need. It already support groups which you can think of as chat-rooms. On Dec 6, 3:13 am, Saurabh Kumar wrote: > Hi, > > Thanks for the replies. So we will decide upon tornado or gevent. > One particular concern in our project is to implement t

[web2py] Re: Implementing tornado chat server with web2py

2011-12-06 Thread Saurabh Kumar
Hi, Thanks for the replies. So we will decide upon tornado or gevent. One particular concern in our project is to implement the server efficiently. We want a server that can handle thousands of users chatting simultaneously. Would a simple code like comet_messaging.py be that capable or we need to

[web2py] Re: Implementing tornado chat server with web2py

2011-11-28 Thread Anthony
Are you aware of comet_messaging.py (http://code.google.com/p/web2py/source/browse/gluon/contrib/comet_messaging.py) -- it uses Tornado? Here's a three part tutorial on using it with Socket.IO for a chat application: http://greg.thehellings.com/2011/04/web2py-websockets-and-socket-io-part-i-b

[web2py] Re: Implementing tornado chat server with web2py

2011-11-28 Thread Massimo Di Pierro
Look into this: http://code.google.com/p/web2py/source/browse/gluon/contrib/comet_messaging.py I would go with tornado or gevent. They seems much simpler then twisted and more in line with the web2py keep-it-simple phylosophy. Massimo On Nov 28, 1:06 pm, Saurabh Kumar wrote: >  Hi, > > We are