From user-return-1727-apmail-storm-user-archive=storm.apache.org@storm.incubator.apache.org Fri Apr 4 09:12:11 2014 Return-Path: X-Original-To: apmail-storm-user-archive@minotaur.apache.org Delivered-To: apmail-storm-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C8D81108FA for ; Fri, 4 Apr 2014 09:12:11 +0000 (UTC) Received: (qmail 31335 invoked by uid 500); 4 Apr 2014 09:12:10 -0000 Delivered-To: apmail-storm-user-archive@storm.apache.org Received: (qmail 31258 invoked by uid 500); 4 Apr 2014 09:12:10 -0000 Mailing-List: contact user-help@storm.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@storm.incubator.apache.org Delivered-To: mailing list user@storm.incubator.apache.org Received: (qmail 31249 invoked by uid 99); 4 Apr 2014 09:12:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2014 09:12:08 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simon.cooper@featurespace.co.uk designates 62.254.189.140 as permitted sender) Received: from [62.254.189.140] (HELO Noosa.featurespace.dmz) (62.254.189.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2014 09:12:03 +0000 Received: from FSEXCHANGE01.featurespace.local (192.168.20.20) by Noosa.featurespace.dmz (192.168.0.3) with Microsoft SMTP Server (TLS) id 14.0.722.0; Fri, 4 Apr 2014 10:11:43 +0100 Received: from FSEXCHANGE01.featurespace.local ([::1]) by FSEXCHANGE01.featurespace.local ([::1]) with mapi id 14.02.0387.000; Fri, 4 Apr 2014 10:11:41 +0100 From: Simon Cooper To: "user@storm.incubator.apache.org" Subject: RE: Replacing DRPC With Kafka Thread-Topic: Replacing DRPC With Kafka Thread-Index: AQHPT6eC8gSwZOOh4E+NIgLOQ+Jcs5sBKz0g Date: Fri, 4 Apr 2014 09:11:40 +0000 Message-ID: <227B30B63555714F9E4BDCD258D04C244A938F@FSEXCHANGE01.featurespace.local> References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.2.113] Content-Type: multipart/alternative; boundary="_000_227B30B63555714F9E4BDCD258D04C244A938FFSEXCHANGE01featu_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_227B30B63555714F9E4BDCD258D04C244A938FFSEXCHANGE01featu_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable We use kafka for inter-topology communication. Going from input -> kafka ->= storm -> kafka -> output takes around 20-40ms. Although you need to use ka= fka 0.8 or greater, as previous versions force an fsync on every message, w= hich makes performance plummet. The main reasons we went for kafka rather than DRPC was that kafka gives us= a permanent log of all the messages in and out of the system, and that mes= sages won't be lost on a server failure (whereas they might be with DRPC, a= s that just uses an in-memory queue) SimonC From: Jon Logan [mailto:jmlogan@buffalo.edu] Sent: 04 April 2014 02:44 To: user@storm.incubator.apache.org Subject: Replacing DRPC With Kafka Has anyone attempted to replace Storm DRPC with Kafka? My main concern ste= ms from the weight of Kafka topics...especially for the handling of return = results to clients. --_000_227B30B63555714F9E4BDCD258D04C244A938FFSEXCHANGE01featu_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

We use kafka for inter-to= pology communication. Going from input -> kafka -> storm -> kafka = -> output takes around 20-40ms. Although you need to use kafka 0.8 or greater, as previous versions force an fsync on every message, which ma= kes performance plummet.

 <= /p>

The main reasons we went = for kafka rather than DRPC was that kafka gives us a permanent log of all t= he messages in and out of the system, and that messages won’t be lost on a server failure (whereas they might be with DRPC, = as that just uses an in-memory queue)

 <= /p>

SimonC<= /p>

 <= /p>

From: Jon Logan [mailto:jmlogan@buffalo.edu]
Sent: 04 April 2014 02:44
To: user@storm.incubator.apache.org
Subject: Replacing DRPC With Kafka

 

Has anyone attempted to replace Storm DRPC with Kafk= a?  My main concern stems from the weight of Kafka topics...especially= for the handling of return results to clients.

--_000_227B30B63555714F9E4BDCD258D04C244A938FFSEXCHANGE01featu_--