Lol.. I'm still searching if it can be "relatively" easy to maintain the synchronous part of my API.. :)
Basically I'm searching how browsers handle this websockets thing, to know if they may hang as in sync jsonrpc.. Yeah, I'm a beginner in these subjects, pretty crude.. :) João Ventura Em 04-04-2012 16:38, lkcl luke escreveu: > 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.

