From user-return-9478-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Mar 23 23:26:40 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 65262 invoked from network); 23 Mar 2010 23:26:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 23:26:40 -0000 Received: (qmail 72647 invoked by uid 500); 23 Mar 2010 23:26:39 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 72617 invoked by uid 500); 23 Mar 2010 23:26:39 -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 72609 invoked by uid 99); 23 Mar 2010 23:26:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 23:26:39 +0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of randall.leeds@gmail.com designates 209.85.223.198 as permitted sender) Received: from [209.85.223.198] (HELO mail-iw0-f198.google.com) (209.85.223.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 23:26:31 +0000 Received: by iwn36 with SMTP id 36so5993602iwn.29 for ; Tue, 23 Mar 2010 16:26:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=hTD3TNEjkNhl9uf4DPO1Jx6cwJRMMk8DaOI3tsGlhJg=; b=JhNZ0XO0jBuyWDCrzrw9dmXokMPLZ/eNr1hhKwPzI9f382ekhOgSpC4VFcfblcoqXA XLClybww7og01lSXeBW4rbxbbvX0cpqEEdDl8ZqZ2PC+4HVv8zNfqS40fEosan7oFxHD MrNzeCh+zqVPcFAsOxF5IiG5qTNOK473CJCW4= 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 :content-type; b=oFdcmrH0+TKphQpCfT9VAyzMEABu7rvyZMBfdkwTRupVLIrGprqf8EG6wF5kGTGDkJ Z8w7rz4bzbIdIdQcGC9YBigwArOT+HUdyhelhokKgJ7C9FVFGLtLlHmYR+Dyh69kcpsl 1bURzRuBPVLVO+f83PWoqd88Mqi6GnyHmprMA= MIME-Version: 1.0 Received: by 10.231.158.205 with SMTP id g13mr796082ibx.30.1269386770812; Tue, 23 Mar 2010 16:26:10 -0700 (PDT) In-Reply-To: References: Date: Tue, 23 Mar 2010 16:26:10 -0700 Message-ID: Subject: Re: how do you manage re-indexation time of big datasets From: Randall Leeds To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=00504501416d8e954b04828023ce --00504501416d8e954b04828023ce Content-Type: text/plain; charset=UTF-8 Maybe you could setuid a little program that calls nice(), drops privs and then exec's couchjs? Set this up as your js view server. On Mar 23, 2010 2:22 PM, "Benoit Chesneau" wrote: On Tue, Mar 23, 2010 at 7:38 PM, Randall Leeds wrote: > At Meebo, we have ... Smart! thanks for the tip. In my case it could be different. While you know when you update the ddocs, i won't have the possibility to control what the user do. So a manager with a lot of data in its database could update 10-20 times its couchapp in a day even if I tell them it's bad. I wouldn't care about that usually except that in this case it will impact other users. 1 user is ok but imagine 10 or more users doing the same things. So i'm not sure how this stuff is manageable.... - benoit --00504501416d8e954b04828023ce--