On Wed, Apr 4, 2012 at 4:34 PM, João Ventura <[email protected]> wrote: > Hi again, > > I've searched somewhat, and came to the definition of something called > Websockets.
*lol* - you're laying it on, neh? ha ha :) > Some guys say that would be possible to do low latency synchronous > jsonrpc calls, and there is a demo (here: http://rpc.nodester.com/) > which calls a ^2 (square) function and compares the AJAX with the > Websockets approach in terms of time spent to retrieve results.. > > Anybody knows something about this, and this would be good to implement > in pyjs? It seems that only the newest versions of browsers support this.. start with this: http://code.google.com/p/gwt-websockets/ run it through pyjamas/contrib/java2py.py and have fun converting the rest. it shouuuld be possible to use websockets transparently, doing a fallback to HTTPRequest if it's not available. does it need server-side cooperation, though? l.

