Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 8997 invoked from network); 18 May 2010 23:30:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 May 2010 23:30:04 -0000 Received: (qmail 4349 invoked by uid 500); 18 May 2010 23:30:04 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 4329 invoked by uid 500); 18 May 2010 23:30:04 -0000 Mailing-List: contact zookeeper-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-user@hadoop.apache.org Delivered-To: mailing list zookeeper-user@hadoop.apache.org Received: (qmail 4321 invoked by uid 99); 18 May 2010 23:30:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 23:30:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [143.106.16.160] (HELO floquinho.lab.ic.unicamp.br) (143.106.16.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 23:29:57 +0000 Received: from webmail.students.ic.unicamp.br (localhost.localdomain [127.0.0.1]) by floquinho.lab.ic.unicamp.br (Postfix) with ESMTP id 055C82E59FD for ; Tue, 18 May 2010 20:29:32 -0300 (BRT) Received: from 201.82.163.204 (SquirrelMail authenticated user ra078686) by webmail.students.ic.unicamp.br with HTTP; Tue, 18 May 2010 20:29:33 -0300 (BRT) Message-ID: <36ce35e86200075f15df5d852b3d718a.squirrel@webmail.students.ic.unicamp.br> In-Reply-To: <8e8b64e64c0f65e38b9ceb361d01c5d2.squirrel@webmail.students.ic.unicamp .br> References: <8e8b64e64c0f65e38b9ceb361d01c5d2.squirrel@webmail.students.ic.unicamp.br> Date: Tue, 18 May 2010 20:29:33 -0300 (BRT) Subject: Concurrent reads and writes on BookKeeper From: =?iso-8859-1?Q?Andr=E9_Oriani?= To: zookeeper-user@hadoop.apache.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org Sorry, I forgot the subject on my last message :| Hi all, I was considering BookKeeper to implement some server replicated application having one primary server as writer and many backup servers reading from BookKeeper concurrently. The last documentation a I had access says "This writer has to execute a close ledger operation before any other client can read from it." So readers cannot ready any entry on the ledger, even the already committed ones until writer stops writing to the ledger,i.e, closes it. Is my understanding right ? Should I then use Zookeeper directly to achieve what I want ? Thanks for the attention, Andr� Oriani