zerodb
zerodb copied to clipboard
Switch from Python pickles to other serialization format
Since we could have native clients in languages other than Python, we'd like to switch to object serialization other than pickle. Something similar to jsonpickle + msgpack (but without arbitrary code execution). This is a longer term goal
:+1:
http://jmoiron.net/blog/python-serialization/
Ultimately for compatibility JSON encoding rather than pickling seems like the natural choice, the problem with pickle is that it's inherently tied Python.
Certainly. I'm thinking of something more compact and fast, yet cross-language. What about msgpack?
how about thrift?
Fastest in Python seems to be msgpack. We will first switch to it in ZEO protocol, then in zerodb itself