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 8D5E39ACB for ; Tue, 6 Dec 2011 19:28:49 +0000 (UTC) Received: (qmail 79077 invoked by uid 500); 6 Dec 2011 19:22:09 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 79047 invoked by uid 500); 6 Dec 2011 19:22:09 -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 79039 invoked by uid 99); 6 Dec 2011 19:22:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2011 19:22:09 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jzimmerman@netflix.com designates 69.53.237.163 as permitted sender) Received: from [69.53.237.163] (HELO exout102.netflix.com) (69.53.237.163) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2011 19:22:04 +0000 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=s1024;d=netflix.com; h=from:to:subject:date:message-id:in-reply-to:content-type:mime-version; bh=9rDOQ3b/yrBO6MezD3Rl7x2fPHg=; b=P3rf5tXH55yt0Z6P7hI6CoM6yuZXB7PL3YiHIk8KzbHk/Ighbo/epB5eoiTKYmJFs8ukc6av 53batZlqWdnmBNh9k4JnUIU9PICBV6invP/J2tZCS6JU8CDfFlkCsIrValL0XghQyDcwTql8 ooVzfwtbACOWKvdB4LCowc82m1E= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024;d=netflix.com; h=from:to:subject:date:message-id:in-reply-to:content-type:mime-version; b=R9jv4YQZNz53AoDTQIyBndaDBtbL590uNEK70AdPdD2xH7qwP0smtyR84hMtYHyorOHf/WoA aWTKVIw2Afooj1r+mhwb05woOMh8w34BoDE0VIEb3Q0ScM/HUvYIaJ9t2jhAwC1/V/PQ0tXi fS5RV3fJq5bBHvgRhfyo1QBwwh4= Received: from exfe104.corp.netflix.com (10.64.32.104) by exout102.netflix.com (10.64.240.74) with Microsoft SMTP Server (TLS) id 8.3.192.1; Tue, 6 Dec 2011 11:22:47 -0800 Received: from EXMB108.corp.netflix.com ([169.254.8.206]) by exfe104.corp.netflix.com ([10.64.32.104]) with mapi id 14.01.0323.003; Tue, 6 Dec 2011 11:21:43 -0800 From: Jordan Zimmerman To: "user@zookeeper.apache.org" , Mike Schilli Subject: Re: SQS Implementation with ZooKeeper Thread-Topic: SQS Implementation with ZooKeeper Thread-Index: AQHMtEuZrTDVV7J83U6s+YxswRJGVpXPL/aA Date: Tue, 6 Dec 2011 19:21:41 +0000 Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.10.0.110310 x-originating-ip: [10.2.245.66] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received-SPF: None (exout102.netflix.com: jzimmerman@netflix.com does not designate permitted sender hosts) Curator has both a Queue and a Priority Queue as described on the ZooKeeper recipes page: https://github.com/Netflix/curator/wiki/Recipes -JZ On 12/6/11 11:16 AM, "Mike Schilli" wrote: >Seems like it should be possible to implement a queue service like >Amazon's SQS [1] with ZooKeeper, with queue items becoming 'invisible' >once a client picks them, but pop back into the queue after a timeout >unless the client doesn't explicitly delete them. > >Anyone done that? > >--=20 >-- Mike > >Mike Schilli >m@perlmeister.com > >[1] http://aws.amazon.com/sqs >