Return-Path: X-Original-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB4D69CCF for ; Sun, 6 Nov 2011 02:57:14 +0000 (UTC) Received: (qmail 7989 invoked by uid 500); 6 Nov 2011 02:57:14 -0000 Delivered-To: apmail-incubator-kafka-dev-archive@incubator.apache.org Received: (qmail 7970 invoked by uid 500); 6 Nov 2011 02:57:14 -0000 Mailing-List: contact kafka-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: kafka-dev@incubator.apache.org Delivered-To: mailing list kafka-dev@incubator.apache.org Received: (qmail 7953 invoked by uid 99); 6 Nov 2011 02:57:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2011 02:57:13 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2011 02:57:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E656E33C44 for ; Sun, 6 Nov 2011 02:56:51 +0000 (UTC) Date: Sun, 6 Nov 2011 02:56:51 +0000 (UTC) From: "Neha Narkhede (Assigned) (JIRA)" To: kafka-dev@incubator.apache.org Message-ID: <1113431660.4075.1320548211944.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1639208406.4032.1320546651549.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (KAFKA-191) Investigate removing the synchronization in Log.flush 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/KAFKA-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neha Narkhede reassigned KAFKA-191: ----------------------------------- Assignee: Neha Narkhede > Investigate removing the synchronization in Log.flush > ----------------------------------------------------- > > Key: KAFKA-191 > URL: https://issues.apache.org/jira/browse/KAFKA-191 > Project: Kafka > Issue Type: New Feature > Components: core > Affects Versions: 0.8 > Reporter: Jay Kreps > Assignee: Neha Narkhede > > Currently we have the following synchronization in Log.scala: > 1. append, roll, and flush all share a write lock > 2. read is non-blocking > Unfortunately this means that flush time latency is added to appends (even if the flush is done by a background thread). To fix this we should investigate a scheme to make append and flush not block each other. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira