A Dimarts, 19 de juliol de 2011 10:56:14, Cédric Krier va escriure: > On 19/07/11 09:56 +0200, Borja LS wrote: > > El 17/07/11 11:51, Cédric Krier escribió: > > >proposal to drop NetRPC for jsonrpc > > > > What about using Pyro instead of NetRPC? > > (http://packages.python.org/Pyro/) > > I don't know Pyro but it seems to be design to work with Pyro object on the > server side. This means that it requires to modify a lot of the server to > match the Pyro concept or to use just one proxy object but I think we will > lost a lot from the coolness of Pyro. > > > NaN used it for Koo (KDE based OpenObject Client) with great success > > (is much faster than NetRPC over high latency networks). > > I think this is due to a bug in NetRPC which we fixed in Tryton a while > ago. And perhaps Koo uses some async calls which could hide the latency?
We use async calls in Koo but not using Pyro's mechanism. Anyway, I think JSON is better because Pyro also uses pickle and its security issues. So +1 forJSON and dropping Net-RPC. -- Albert Cervera i Areny http://www.NaN-tic.com OpenERP Partners Tel: +34 93 553 18 03 http://twitter.com/albertnan http://www.nan-tic.com/blog -- [email protected] mailing list
