Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6971

Use arena allocation to improve protobuf message passing performance.

    XMLWordPrintableJSON

Details

    Description

      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 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.

      Attachments

        Issue Links

          Activity

            People

              dzhuk Dmitry Zhuk
              bmahler Benjamin Mahler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: