We've just started moving some of the baseline application stuff to Python services running on independent app servers (no, not like J2EE app servers). One of the key aspects to consider in such a setup is the scalability of the bridge between the webserver and app server
(
Read more... )
Comments 5
Reply
The suckage really is the IDL and its half-assed support for type safety which brings the worst of both worlds together. I expect Avro to be more suitable for this. Sadly, though, their first RPC implementation would be in Java but I hope others will be quick to catch up.
Reply
Reply
Assuming it's a way of serializing python stuff; why not just use gziped pickled output and don't stuff it in json?
If you were serializing to json structures, that could make sense, but if you're stuffing a python serialized format into json, the json 'envelope' doesn't really add anything other than processing time.
Also, I've found in php that the platform specific serialize/deserialize is faster than xml or json. I would presume that's true in Python as well, so if you're communicating between two Python layers, there's no reason to speak JSON.
Reply
Reply
Leave a comment