[
https://issues.apache.org/jira/browse/MESOS-8302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16279341#comment-16279341
]
Benjamin Mahler commented on MESOS-8302:
----------------------------------------
{noformat}
commit f8e4f11e796b2b0d9bd101a7eb6f106e72cbaee1
Author: Dmitry Zhuk <[email protected]>
Date: Mon Aug 7 11:01:04 2017 -0700
Reduced copying in `defer`, `dispatch` and `Future`.
This reduces number of copies made for each parameter in
a piece of code like this:
```
future.then(defer(pid, &SomeProcess::someMethod, param1, param2));
```
For the objects that do not support move semantics
(e.g., protobuf messages), number of copies is reduced from 8-10 to 6.
If move semantics is supported, then number of copies is reduced from
6-7 to 1 if parameter is passed with `std::move`, or 2 otherwise.
Review: https://reviews.apache.org/r/60003/
{noformat}
{noformat}
commit 834053d976e2db18c16e1612b3b723fe1c8ca1ac
Author: Dmitry Zhuk <[email protected]>
Date: Thu Oct 12 14:45:26 2017 -0700
Used protobuf arenas for creating messages in ProtobufProcess.
When passing const protobuf messages and fields, we can allocate
the protobuf message within an arena. Arenas dramatically reduce
the number of malloc's involved. The use of arenas also improves
the cache locality of the protobuf memory.
Review: https://reviews.apache.org/r/62901/
{noformat}
{noformat}
commit f569b841cbd8d8b07eb906a711aeb2d395096af6
Author: Dmitry Zhuk <[email protected]>
Date: Fri Oct 13 12:06:31 2017 -0700
Simplified RepeatedPtrField to vector conversion.
It's also possible that `vector` can take advantage of
`RepeatedPtrField` iterators implementing `RandomAccessIterator`
concept and avoid buffer resizes, when constructed from range.
Review: https://reviews.apache.org/r/62973/
{noformat}
> Improve master failover performance.
> ------------------------------------
>
> Key: MESOS-8302
> URL: https://issues.apache.org/jira/browse/MESOS-8302
> Project: Mesos
> Issue Type: Improvement
> Components: master
> Reporter: Benjamin Mahler
> Assignee: Dmitry Zhuk
>
> This is somewhat more like an epic, but will track the different improvements
> here for now.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)