From user-return-10606-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed May 19 06:53:07 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 89605 invoked from network); 19 May 2010 06:53:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 May 2010 06:53:07 -0000 Received: (qmail 91855 invoked by uid 500); 19 May 2010 06:53:06 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 91633 invoked by uid 500); 19 May 2010 06:53:05 -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 91625 invoked by uid 99); 19 May 2010 06:53:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 May 2010 06:53:05 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebastiancohnen@googlemail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-wy0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 May 2010 06:52:59 +0000 Received: by wyi11 with SMTP id 11so263832wyi.11 for ; Tue, 18 May 2010 23:52:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=BGMyL1EPnqM3GHBu64BMB6v7wsN8QT2B4szmG9tkE+4=; b=kb0E96cQsr3VUYVe3qQVfXGr3zhObVkQzl1ZfyaCsfq4lRWFoEXao+4AeTRIwna5Rt eWnWW2ZFmjkFO86b1kIF8ivSD2DrkTkiO7WaEEYeLeZmiqzW1HYBJeaCWmErwiiTvuYp n0FBp6I3aEeDhqhIoyiE0nzjhcJgx5UWzVmTQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=W8sFF1p5ptBjlyX2qIjPIgBy8gsA5riMHpwrYkr6cNo+sXAd2h8f4TcpCnez8xxfo3 q9iTWauCqEmLnADhGgFoH577RxzsTkN2WlxVhtPAN2JMFXSTE/VislIf+VPCpTAIa7ro 8RKVSZEXYB+JNBL9cN6ET/IiyLZxIIpZ0BpqE= Received: by 10.227.152.212 with SMTP id h20mr7418323wbw.176.1274251957619; Tue, 18 May 2010 23:52:37 -0700 (PDT) Received: from [192.168.0.152] (xdsl-87-79-198-15.netcologne.de [87.79.198.15]) by mx.google.com with ESMTPS id p29sm41043627wbe.4.2010.05.18.23.52.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 May 2010 23:52:37 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) Subject: Re: _active_tasks From: Sebastian Cohnen In-Reply-To: <4BF2D560.2020302@gmail.com> Date: Wed, 19 May 2010 08:52:35 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <02BACC05-CF0F-4863-B0F3-39066ABD0546@googlemail.com> References: <4BF2D11C.7050806@gmail.com> <4BF2D560.2020302@gmail.com> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1078) AFAIK there is currently no push mechanism implemented or planed. But I = think it's a nice idea and maybe worth a JIRA ticket :) On 18.05.2010, at 19:58, Tom Sante wrote: > On 18/05/10 19:49, Markus Jelsma wrote: >> There's no indication it can be queried continuously [1]. >>=20 >>=20 >>=20 >> [1]: http://wiki.apache.org/couchdb/Runtime_Statistics >>=20 >> -----Original message----- >> From: Tom Sante >> Sent: Tue 18-05-2010 19:41 >> To: user@couchdb.apache.org; >> Subject: Re: _active_tasks >>=20 >> On 18/05/10 19:17, Markus Jelsma wrote: >>> http://localhost:5984/_utils/status.html >>>=20 >>>=20 >>> -----Original message----- >>> From: Tom Sante >>> Sent: Tue 18-05-2010 19:07 >>> To: user@couchdb.apache.org; >>> Subject: _active_tasks >>>=20 >>> Hey, >>> Quick question. Can you request info from _active_tasks the same = ways >>> (polling, continuous,..) as with _changes? or can I only have a = script >>> do regular polling if I want to keep an eye on the tasks? my goal is = to >>> have a watcher script, that is a kind of live status board of what = view >>> generation couch is running. >>>=20 >>> Greetings, >>>=20 >>> Tom >>>=20 >>=20 >> I know about that and it uses polling, I was just asking if there is = any >> other way like in the case of _changes feed? >> would be a pain to have my job-watcher script having to poll every = few >> seconds just to keep track of what views are running. >>=20 >=20 > I know, I checked that before I mailed the list, but the wiki is not = exactly know for its always up to date info on the actual latest trunk = version functionality. >=20 > Since my job watcher really is only meant to check status different = long running jobs on the system, (only one of those is view generation = in couchdb, other are none couch related jobs) I could get away with = polling only every few minutes, if I miss it in that interval it's not = really long running :-)