You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Ilya Pronin (JIRA)" <ji...@apache.org> on 2017/05/27 09:12:04 UTC

[jira] [Assigned] (MESOS-6971) Use arena allocation to improve protobuf message passing performance.

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

Ilya Pronin reassigned MESOS-6971:
----------------------------------

    Assignee: Ilya Pronin

> Use arena allocation to improve protobuf message passing performance.
> ---------------------------------------------------------------------
>
>                 Key: MESOS-6971
>                 URL: https://issues.apache.org/jira/browse/MESOS-6971
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Benjamin Mahler
>            Assignee: Ilya Pronin
>              Labels: tech-debt
>
> The protobuf message passing provided by {{ProtobufProcess}} provide const access of the message and/or its fields to the handler function.
> This means that we can leverage the [arena allocator|https://developers.google.com/protocol-buffers/docs/reference/arenas] provided by protobuf to reduce the memory allocation cost during de-serialization and improve cache efficiency.
> This would require using protobuf 3.x with "proto2" syntax (which appears to be the default if unspecified) to maintain our existing "proto2" requirements. The upgrade to protobuf 3.x while keeping "proto2" syntax should be tackled via a separate ticket that blocks this one.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)