mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jie Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-645) Improve the performance of Future.
Date Fri, 08 Nov 2013 19:52:17 GMT

    [ https://issues.apache.org/jira/browse/MESOS-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817623#comment-13817623
] 

Jie Yu commented on MESOS-645:
------------------------------

Discarded the new Latch implementation because it will block the worker threads.

> 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
>             Fix For: 0.15.0
>
>
> 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)

Mime
View raw message