4 ms·
Did you consider google protocol buffers? If so, why thrift?
by fleaflicker 15y ago
Did you consider google protocol buffers? If so, why thrift?
- andres 15y agoWe use Python server-side and the Python implementation of Google protocol buffers is extremely slow.
- sigil 15y agoHere are two alternative Python protobuf implementations. They're each about 15x faster than the pure Python implementation from Google. fast-python-pb - codegen wrapping Google's C++ protobuf implementation. https://github.com/Greplin/fast-python-pb https://github.com/Greplin/fast-python-pb lwpb - non-codegen using a protobuf implementation in C. (disclaimer: I'm an author) https://github.com/acg/lwpb https://github.com/acg/lwpb