From user-return-21436-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Jul 4 13:46:53 2012 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-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 DEDCC9900 for ; Wed, 4 Jul 2012 13:46:52 +0000 (UTC) Received: (qmail 77722 invoked by uid 500); 4 Jul 2012 13:46:51 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 77417 invoked by uid 500); 4 Jul 2012 13:46:50 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 77387 invoked by uid 99); 4 Jul 2012 13:46:49 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2012 13:46:49 +0000 Received: from localhost (HELO [192.168.1.5]) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2012 13:46:49 +0000 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1278) Subject: Re: Scaling writes? From: Robert Newson In-Reply-To: Date: Wed, 4 Jul 2012 14:46:47 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <36535372-98BE-47F8-91B8-5F545D88644D@apache.org> References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1278) I should note that BC (and cloudant.com, even more so) generally contain = more than the advertised couchdb release. On 4 Jul 2012, at 14:11, Simon Metson wrote: > IIRC it's currently built of v1.0.2 =20 >=20 >=20 > On Wednesday, 4 July 2012 at 13:49, Gabriel Mancini wrote: >=20 >> Hi Guys any one knows if bigcouch works on couchdb 1.2 ? >>=20 >> On Wed, Jul 4, 2012 at 3:11 AM, Mathias Leppich wrote: >>=20 >>> Already had a look on BigCouch? http://bigcouch.cloudant.com/ >>>=20 >>> - Mathias >>>=20 >>> On Jul 4, 2012, at 3:21 , Michael Parker wrote: >>>=20 >>>> Given that CouchDB is a multi-master system, it seems that reads = scale >>>> gracefully while writes do not -- because N reads among k nodes can = be >>>> spread as N/k reads per node, while N writes among k nodes requires >>>> each of the nodes to perform all N writes. >>>>=20 >>>> So what's the best practice on scaling writes? Clearly each node >>>> should not be responsible for performing all N writes and we would >>>> want to partition the data storage. I was thinking of consistent >>>> hashing, but that requires some logic to merge results from views. = My >>>> best idea so far is to partition documents based on their type, and >>>> all documents of a given type exist in the same partition. >>>>=20 >>>> Is http://guide.couchdb.org/draft/clustering.html current, or is = there >>>> something else I should be looking at? Anyone have any success = stories >>>> to share? >>>>=20 >>>> Guidance would be much appreciated! Thanks! >>>>=20 >>>> - Mike >>=20 >>=20 >> -- =20 >> Gabriel Mancini de Campos >> Arquiteto de Solu=E7=F5es >>=20 >> +55 (11) 9449-1706 >> gabriel.mancini@gmail.com (mailto:gabriel.mancini@gmail.com) >> S=E3o Paulo - SP - Brasil >>=20 >>=20 >=20 >=20