You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2012/09/28 01:17:07 UTC

[jira] [Closed] (MESOS-283) Use cpp implementations for python protobufs.

     [ https://issues.apache.org/jira/browse/MESOS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Mahler closed MESOS-283.
---------------------------------

    Resolution: Won't Fix

According to the documentation: "There is also an experimental C++ implementation for Python messages via a Python extension for better performance. Implementation type is controlled by an environment variable PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION (valid values: "cpp" and "python"). The default value is currently "python" but will be changed to "cpp" in future release."

I'm not sure we want to use it until it's no longer considered "experimental".
                
> Use cpp implementations for python protobufs.
> ---------------------------------------------
>
>                 Key: MESOS-283
>                 URL: https://issues.apache.org/jira/browse/MESOS-283
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Benjamin Mahler
>
> Thanks to Scott Smith for this one!
> We should be using PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp for our Python protos.
> Also, ideally, we should be using the pre-generated cpp implementations instead of the generic reflection based stuff. I'm not sure how to wire this particular part up, but some initial digging:
> http://yz.mit.edu/wp/fast-native-c-protocol-buffers-from-python/
> http://www.mail-archive.com/protobuf@googlegroups.com/msg05572.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira