Return-Path: Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: (qmail 50326 invoked from network); 14 Feb 2011 08:48:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Feb 2011 08:48:54 -0000 Received: (qmail 38924 invoked by uid 500); 14 Feb 2011 08:48:54 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 38874 invoked by uid 500); 14 Feb 2011 08:48:52 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 38864 invoked by uid 99); 14 Feb 2011 08:48:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 08:48:51 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tivv00@gmail.com designates 209.85.216.170 as permitted sender) Received: from [209.85.216.170] (HELO mail-qy0-f170.google.com) (209.85.216.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 08:48:43 +0000 Received: by qyk10 with SMTP id 10so1279152qyk.15 for ; Mon, 14 Feb 2011 00:48:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jK1+jadmQRYiEWh0C2easCZjuM5nHdyRtCMAe2bPfdM=; b=PEwG2T+BQTun51mzyKX+mryh9aGp5qjCZ2I9FAdH/RAXo3bTdUJz6n3lxtcjCKLFc1 tiOCYMK/KxEpqwosdqUHnVJ9xCJaF5nZUTOlZO2X39LT1e1GuHXohuFVxwBDNIps3005 TLYlWB9uWivQOLVj4Ib4qXqf1EbZgRdpmGjZ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qnpgsdgV849f59rIzDU19JhFl2GL0TQinRm3XukBWo0WyuuwlS7DDyGApDVBIdIdPK ZX7zWEI6wnj+VC/u4vJaL1Qevi8e7PjdCFMSuWlgPaWfHGwDkNUkVe458w92z2QE8CfJ BJgMnKtflAFTgN3pCCUjIcl6gDv/SnC84r6sU= MIME-Version: 1.0 Received: by 10.229.240.66 with SMTP id kz2mr2469840qcb.233.1297673302299; Mon, 14 Feb 2011 00:48:22 -0800 (PST) Received: by 10.229.211.203 with HTTP; Mon, 14 Feb 2011 00:48:22 -0800 (PST) In-Reply-To: <201102131710.21091.thomas@koch.ro> References: <201102131710.21091.thomas@koch.ro> Date: Mon, 14 Feb 2011 10:48:22 +0200 Message-ID: Subject: Re: ExecutorService over a zookeeper From: =?KOI8-U?B?96bUwcymyiD0yc3eydvJzg==?= To: thomas@koch.ro Cc: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=0016363b884837d4fc049c3a1cc6 X-Virus-Checked: Checked by ClamAV on apache.org --0016363b884837d4fc049c3a1cc6 Content-Type: text/plain; charset=ISO-8859-1 Sorry for second e-mail, did not answer the whole thing You should not publish results in ZK but use some other communication > method. > I do. But i need to tell that result are ready and available on this address. > ZK is really not meant as a messaging solution. > Maybe you'd be better served with a standard message queue (e.g. Apache > activeMQ, rabbitMQ) and use ZK only for coordination? If you have really > high > message load, you could have a look at Hedwig (google://zookeeper hedwig). > > After few years working with activeMQ, I hate it. As other projects workers in our company do. I simply hangs after some time with no apparent reason. It does not like rollbacks. (Vitalii, please stop or this won't be a Zookeeper e-mail :) ). But why Zookeeper is not a messaging? Actually I was suggested Kafka in this thread, and it looks like messaging solution. The problem is that JMS-like messaging does not suit me. First of all, it does not alove a message to be cancelled. Then, it gives no control over message processing (Producer may want in future to control message requeue on Consumer failure for "bad" message not to put down all Consumers one by one). Also it requires at least two queues to handle responses (I've used Queue + Topic for Hazelcast) I already has support for Hazelcast & Grid-Gain, but there are certain problem with them. That's why I am trying Zookeeper now. As for storage for both tasks & responses, we are using NFS now and may move to HDFS if Zookeeper will be adopted successfully (or, better say, it's orthogonal to clustering solution selection). -- Best regards, Vitalii Tymchyshyn --0016363b884837d4fc049c3a1cc6--