Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
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
- is blocked by
-
MESOS-6138 Add 'syntax=proto2' to all .proto files in Mesos
- Resolved
-
MESOS-5186 mesos.interface: Allow using protobuf 3.x
- Resolved
- is related to
-
MESOS-7706 Improve master failover time for large clusters.
- Open
-
MESOS-6972 Improve performance of protobuf message passing by removing RepeatedPtrField to vector conversion.
- Open
- relates to
-
MESOS-5783 Use protobuf arena allocation to improve performance.
- Resolved