Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9987510785 for ; Fri, 6 Sep 2013 03:53:56 +0000 (UTC) Received: (qmail 52836 invoked by uid 500); 6 Sep 2013 03:53:55 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 52463 invoked by uid 500); 6 Sep 2013 03:53:54 -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 52430 invoked by uid 500); 6 Sep 2013 03:53:50 -0000 Delivered-To: apmail-hadoop-zookeeper-user@hadoop.apache.org Received: (qmail 52427 invoked by uid 99); 6 Sep 2013 03:53:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Sep 2013 03:53:50 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bitanarch@gmail.com designates 209.85.220.52 as permitted sender) Received: from [209.85.220.52] (HELO mail-pa0-f52.google.com) (209.85.220.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Sep 2013 03:53:44 +0000 Received: by mail-pa0-f52.google.com with SMTP id kq13so2781587pab.11 for ; Thu, 05 Sep 2013 20:53:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=KFFQZmJs15nYSF9zSjO5xbqKdmivPprFWyIuaxkudIk=; b=MXnmTk76U26cjcQWUzMyN0CjRdeAgyNoPjBA/+B9vPw0zsC/DQALh9bG0AJQBDbGsI uLb57By4Zajt73oCXI2QhQOcVFroLZwmHi2qSPHmvNyydiDjEYJ3Bl7m2taYMtliTn89 rplPXZ3HJP8dcEUKLSSASNL3z34TT2wX35A1sO+1Cbv1wESQsLlL9FceDfK5cB9kPUcb TDezHKlT7Hf+BYAaZKM8Ioej+5JVb+/efiwtZOzSm79QFV3q5FaOFkjsxq9YYGTbPxzW kfICUqDQMekzpHizZZP1GVR+wGmNVKp7r8UIrr7Brj5WGj4pw20ScEv9o4C8KQgz11nc CViw== X-Received: by 10.67.1.203 with SMTP id bi11mr1458763pad.137.1378439602871; Thu, 05 Sep 2013 20:53:22 -0700 (PDT) Received: from [10.78.157.203] (mobile-166-137-187-148.mycingular.net. [166.137.187.148]) by mx.google.com with ESMTPSA id uw6sm719729pbc.8.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 20:53:21 -0700 (PDT) References: <1378391817809-7579049.post@n2.nabble.com> Mime-Version: 1.0 (1.0) In-Reply-To: <1378391817809-7579049.post@n2.nabble.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <228CE998-4320-46D7-AE06-64CEF06CBD4D@gmail.com> Cc: "zookeeper-user@hadoop.apache.org" X-Mailer: iPhone Mail (11A4449d) From: Martin Kou Subject: Re: Can ZK be used for my use case? Date: Thu, 5 Sep 2013 20:53:21 -0700 To: "user@zookeeper.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org How large are your files? ZooKeeper is generally not designed for large size= storage. Also, it doesn't provide guarantees of watchers being called when n= etwork outage is involved. Sent from my iPhone > On Sep 5, 2013, at 7:36 AM, Tavi wrote: >=20 > Hi everyone, >=20 > I have a web application who generates different types of files (at > different version) on the server. Those files must be transferred at 300 > clients (watchers) and, after transfer, each client must modify every file= > for his purpose. The "client" is a simple java stand alone application > installed on my user PC.=20 > Today my users must download manually their files from an FTP server and > they must use a java library to convert their files. Of course, I don't > know if they do this when the file version changes, I don't have any trace= > who did it ...=20 >=20 > My idea is to use a ZK server with 300 clients, each client will be > monitoring a specific namespace for changes (for example : client 1 will > monitor /app1 and app2, client 2 -> app 2 only ...). Every namespace will= > contain the name of the file, his location, his version ... When the file > version will change, the java client will use the information to retrieve > and to modify the file from my central FTP. "My leader" needs to know whic= h > user is connected and he must synchronize the downloads to avoid network > bottlenecks. >=20 > Does ZK fits in this scenario? >=20 > Thanks for your time, > Tavi >=20 >=20 >=20 >=20 > -- > View this message in context: http://zookeeper-user.578899.n2.nabble.com/C= an-ZK-be-used-for-my-use-case-tp7579049.html > Sent from the zookeeper-user mailing list archive at Nabble.com.