Return-Path: X-Original-To: apmail-aurora-reviews-archive@minotaur.apache.org Delivered-To: apmail-aurora-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7115017D9E for ; Tue, 28 Apr 2015 01:30:33 +0000 (UTC) Received: (qmail 14287 invoked by uid 500); 28 Apr 2015 01:30:33 -0000 Delivered-To: apmail-aurora-reviews-archive@aurora.apache.org Received: (qmail 14235 invoked by uid 500); 28 Apr 2015 01:30:33 -0000 Mailing-List: contact reviews-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.apache.org Delivered-To: mailing list reviews@aurora.apache.org Received: (qmail 14214 invoked by uid 99); 28 Apr 2015 01:30:33 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 01:30:33 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id A79201DB9AD; Tue, 28 Apr 2015 01:30:33 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2062433705465253125==" MIME-Version: 1.0 Subject: Re: Review Request 33608: Added a status update throughput benchmark. From: "Kevin Sweeney" To: "Maxim Khutornenko" Cc: "Ben Mahler" , "Kevin Sweeney" , "Aurora" Date: Tue, 28 Apr 2015 01:30:33 -0000 Message-ID: <20150428013033.26755.96861@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Kevin Sweeney" X-ReviewGroup: Aurora X-ReviewRequest-URL: https://reviews.apache.org/r/33608/ X-Sender: "Kevin Sweeney" References: <20150428005721.17829.61477@reviews.apache.org> In-Reply-To: <20150428005721.17829.61477@reviews.apache.org> Reply-To: "Kevin Sweeney" X-ReviewRequest-Repository: aurora --===============2062433705465253125== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33608/#review81768 ----------------------------------------------------------- src/jmh/java/org/apache/aurora/benchmark/StatusUpdateBenchmark.java You probably want http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/util/concurrent/Uninterruptibles.html#sleepUninterruptibly(long,%20java.util.concurrent.TimeUnit) here. - Kevin Sweeney On April 27, 2015, 5:57 p.m., Ben Mahler wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/33608/ > ----------------------------------------------------------- > > (Updated April 27, 2015, 5:57 p.m.) > > > Review request for Aurora and Maxim Khutornenko. > > > Bugs: AURORA-1283 > https://issues.apache.org/jira/browse/AURORA-1283 > > > Repository: aurora > > > Description > ------- > > In order to justify doing asynchronous batch acknowledgements and to better understand status update throughput, this introduces a benchmark. > > Note that this assumes that status update processing is not synchronous, so that the benchmark doesn't need to be updated for AURORA-1228. > > > Diffs > ----- > > src/jmh/java/org/apache/aurora/benchmark/StatusUpdateBenchmark.java PRE-CREATION > src/jmh/java/org/apache/aurora/benchmark/fakes/FakeCommand.java PRE-CREATION > src/jmh/java/org/apache/aurora/benchmark/fakes/FakeDriver.java 45de15a57baf7a2f7d437b590935714e28777f35 > src/jmh/java/org/apache/aurora/benchmark/fakes/FakeSchedulerDriver.java PRE-CREATION > src/jmh/java/org/apache/aurora/benchmark/fakes/FakeUncaughtExceptionHandler.java PRE-CREATION > src/main/java/org/apache/aurora/scheduler/UserTaskLauncher.java c54619f7cd617b48069363173dcf63b6254b4095 > src/main/java/org/apache/aurora/scheduler/mesos/Driver.java c7e45a89ceaa2c310feb610091eec0b04187860e > src/main/java/org/apache/aurora/scheduler/mesos/MesosSchedulerImpl.java 9b8ab7c1027731f9d3f6cae77b85272ea63354d4 > src/main/java/org/apache/aurora/scheduler/mesos/SchedulerDriverModule.java d7d659bb13f085ff06291ef0033572f8bdf29874 > src/main/java/org/apache/aurora/scheduler/mesos/SchedulerDriverService.java da2d5df2e053e6e1b8fb08d6813dff9eac9777f8 > > Diff: https://reviews.apache.org/r/33608/diff/ > > > Testing > ------- > > Ran the benchmarks against the existing code and some pending code I have for AURORA-1228 to demonstrate the improvement. > > The end to end tests are broken, appears to be unrelated to my change from what I can tell. > > > Thanks, > > Ben Mahler > > --===============2062433705465253125==--