Return-Path: X-Original-To: apmail-mesos-dev-archive@www.apache.org Delivered-To: apmail-mesos-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 53A6210870 for ; Fri, 8 Nov 2013 19:50:18 +0000 (UTC) Received: (qmail 45056 invoked by uid 500); 8 Nov 2013 19:50:17 -0000 Delivered-To: apmail-mesos-dev-archive@mesos.apache.org Received: (qmail 45006 invoked by uid 500); 8 Nov 2013 19:50:17 -0000 Mailing-List: contact dev-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list dev@mesos.apache.org Received: (qmail 44924 invoked by uid 99); 8 Nov 2013 19:50:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 19:50:17 +0000 Date: Fri, 8 Nov 2013 19:50:17 +0000 (UTC) From: "Jie Yu (JIRA)" To: dev@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MESOS-645) Improve the performance of Future. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jie Yu updated MESOS-645: ------------------------- Attachment: (was: Screen Shot 2013-08-27 at 9.51.21 AM.png) > 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)