On 03/02/2013 03:24 PM, Tristan Seligmann wrote:
I don't really understand how this is any easier with PB than with AMP, though. With AMP, you "just" need the same command definitions on both sides. With PB, you need the exact same Python code versions for every class you are sending over the wire;
I don't use PB like that. I only ever send simple data structures made of builtin types (int, str, list, dict).
You don't quite have to do a TCP handshake for every request you want to send over an HTTP channel, but there are still some problems.
You're not telling me anything I don't already know. My point is that, for the use-cases *I* have, those limitations have not proven to be a problem, so the effort
asymmetric (client makes requests to the server, server cannot make requests to the client, so you need to do some kind of long polling / inversion of control to simulate this).
Yes.