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

Jie Yu updated MESOS-645:
-------------------------

    Description: 
Future is performance critical. The current implementation of Future uses a 
Latch which leverages a process which is not efficient (e.g. user level 
switches, process creation/termination cost, etc.).

Our idea is to create the Latch in each Future lazily so that in common cases, 
we don't need to create a Latch.

  was:
Latch is performance critical as it is used in each Future instance. The 
current implementation of Latch leverages a process which is not efficient 
(e.g. user level switches, process creation/termination cost, etc.).

Plan to re-implement Latch using Gate.


> Improve the performance of Future.
> ----------------------------------
>
>                 Key: MESOS-645
>                 URL: https://issues.apache.org/jira/browse/MESOS-645
>             Project: Mesos
>          Issue Type: Sub-task
>            Reporter: Jie Yu
>            Assignee: Jie Yu
>            Priority: Minor
>
> Future is performance critical. The current implementation of Future uses a 
> Latch which leverages a process which is not efficient (e.g. user level 
> switches, process creation/termination cost, etc.).
> Our idea is to create the Latch in each Future lazily so that in common 
> cases, we don't need to create a Latch.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to