Hey there, We at connex.io use Protocol Buffers quite heavily, 1) as client-server communication protocol, and 2) to store objects in our key-value database. When processing requests server-side by the Python application, I've discovered that ~30% of CPU usage goes to deserializing PB messages. Which is why we looked into how we can speed up the PBs. After some experimenting and benchmarks, we decided to write a Python C extension.
Currently our basic deserializer module is 17x faster than Google's implementation in pure Python. You can look at the benchmark code and results here: https://github.com/connexio/cypb Our plan from here is to develop the currently missing parts (encoder, .proto file parser, code generator, etc..) to make it usable and start to use it internally as soon as possible. You can follow the above repository for updates. If anyone is interested in testing, reviewing, or contributing your help will be appreciated. Any feedback and suggestions are welcome. Best, Atamurad -- *connex.io - your smart address book* Atamurad Hezretkuliyev Co-Founder +993 67 642 642 [email protected] -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
