Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 75161 invoked from network); 1 Jan 2009 04:45:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jan 2009 04:45:35 -0000 Received: (qmail 52921 invoked by uid 500); 1 Jan 2009 04:45:34 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 52890 invoked by uid 500); 1 Jan 2009 04:45:33 -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 52879 invoked by uid 99); 1 Jan 2009 04:45:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Dec 2008 20:45:33 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mark.gallop@gmail.com designates 209.85.142.184 as permitted sender) Received: from [209.85.142.184] (HELO ti-out-0910.google.com) (209.85.142.184) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jan 2009 04:45:26 +0000 Received: by ti-out-0910.google.com with SMTP id a1so3828281tib.3 for ; Wed, 31 Dec 2008 20:45:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=LSmEJgvTqu4VmX8eJdyksYK0j6MwM3B5qqMPlt21Px4=; b=chgpDeIc1dAyh58o7QGkSQIt+38Rf30VgmwPBeCkjNB1gEjPze7lgykudG2OWqQwIS DdhG66O4LdjQBjU+i4LQ4umuylcUYWximtVoLtp1E27TIzG1bU+eghZpKBhUZFowiYGq qqPfMvbUO09BwatNl5hJcQETcFCRD2ufQyDk4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=WjpSC0SzQqUD9Z1luCvUKFwQMZmzDRCCSaHYfOeuRzsoddhhCkCAUAVo4wTT4rev/s 1PFVtxiwKOIN29/JhGJe8qAuF37uSoLys+8T8TLdqs9HcYsrZu6NuUoYVGnZe8h5jSWh SEo4IbFV5z1rpBlyINxhCiYPRGjY/lpaDP49M= Received: by 10.110.63.6 with SMTP id l6mr25362282tia.50.1230785104679; Wed, 31 Dec 2008 20:45:04 -0800 (PST) Received: from mark-gallops-macbook-pro.local (203-206-36-42.dyn.iinet.net.au [203.206.36.42]) by mx.google.com with ESMTPS id u8sm6290786tia.28.2008.12.31.20.45.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 31 Dec 2008 20:45:03 -0800 (PST) Message-ID: <495C4A49.3090304@gmail.com> Date: Thu, 01 Jan 2009 13:44:57 +0900 From: Mark Gallop User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: limits on resources needed by a query? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Rich, On 1/1/09 1:35 PM, Rich Morin wrote: > Is there any way to control the amount of resources a query > is allowed to consume? I'm allowing users to generate their > own queries (via CouchRest) and would like to prevent DoS > problems, however motivated. > > -r > I only know of the timeout value set in the CouchDB default.ini: view_timeout = 5000 ; 5 seconds What resources would you like to limit? Cheers, Mark