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 CEAC69E11 for ; Thu, 5 Jan 2012 22:03:04 +0000 (UTC) Received: (qmail 64651 invoked by uid 500); 5 Jan 2012 22:03:04 -0000 Delivered-To: apmail-incubator-kafka-dev-archive@incubator.apache.org Received: (qmail 64393 invoked by uid 500); 5 Jan 2012 22:03:03 -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 64381 invoked by uid 99); 5 Jan 2012 22:03:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2012 22:03:03 +0000 X-ASF-Spam-Status: No, hits=-2001.6 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; Thu, 05 Jan 2012 22:03:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A1A6A13AFA4 for ; Thu, 5 Jan 2012 22:02:40 +0000 (UTC) Date: Thu, 5 Jan 2012 22:02:40 +0000 (UTC) From: "Jay Kreps (Updated) (JIRA)" To: kafka-dev@incubator.apache.org Message-ID: <1292689867.11746.1325800960663.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1063016114.23438.1321068052780.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (KAFKA-202) Make the request processing in kafka asynchonous MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/KAFKA-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jay Kreps updated KAFKA-202: ---------------------------- Attachment: KAFKA-202-v3.patch Updated patch to current trunk. > Make the request processing in kafka asynchonous > ------------------------------------------------ > > Key: KAFKA-202 > URL: https://issues.apache.org/jira/browse/KAFKA-202 > Project: Kafka > Issue Type: New Feature > Reporter: Jay Kreps > Assignee: Jay Kreps > Attachments: KAFKA-202-v2.patch, KAFKA-202-v3.patch, KAFKA-48-socket-server-refactor-draft.patch > > > We need to handle long-lived requests to support replication. To make this work we need to make the processing mechanism asynchronous from the network threads. > To accomplish this we will retain the existing pool of network threads but add a new pool of request handling threads. These will do all the disk I/O. There will be a queue mechanism to transfer requests to and from this secondary pool. -- 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