Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 38790 invoked from network); 27 Dec 2009 20:37:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Dec 2009 20:37:08 -0000 Received: (qmail 16298 invoked by uid 500); 27 Dec 2009 20:37:06 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 16205 invoked by uid 500); 27 Dec 2009 20:37:06 -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 16195 invoked by uid 99); 27 Dec 2009 20:37:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Dec 2009 20:37:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tkruthoff@gmail.com designates 209.85.211.183 as permitted sender) Received: from [209.85.211.183] (HELO mail-yw0-f183.google.com) (209.85.211.183) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Dec 2009 20:36:57 +0000 Received: by ywh13 with SMTP id 13so16309357ywh.29 for ; Sun, 27 Dec 2009 12:36:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=MlS7d89cE8fxGDYYFllb5s+7itN6oH1UILAAXTkmvdA=; b=IGl54BVdfuvPMjmxDDg536tmT9dMJcduA4uwDqgVzDnyu9qCeDOqRf0INXmbGD5kha 17h05Af4Ps482mVDi1v6/hj5dWS3TVoQPfy7yJVkl6GhqU7HjXOrTOZs+xaJNmIN3EBo 9e5r4/LForBXU/M6934ae24/TPt3SoSaKbUJk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=o5l3bFlLF37htpgTvG183zhy02pkLs07ileo1TS90z3OSQZaCHZ1ljQV1rEwJUKyum aFLdeo/h6/WrWmvbmo0YxcEVYCMV1xIWEfaJVKkKF1llaWtyV9WRiUtBnIq4vIzj6vk6 9JnbnWb07V9+92ItKVWqg7MBanp4nJhtHOYiY= Received: by 10.150.6.32 with SMTP id 32mr21770176ybf.114.1261946196290; Sun, 27 Dec 2009 12:36:36 -0800 (PST) Received: from ?10.0.1.60? (c-24-10-14-138.hsd1.ca.comcast.net [24.10.14.138]) by mx.google.com with ESMTPS id 22sm10398002iwn.12.2009.12.27.12.36.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 27 Dec 2009 12:36:35 -0800 (PST) Message-Id: From: Troy Kruthoff To: user@couchdb.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: atomic/concurrent update_seq for _changes Date: Sun, 27 Dec 2009 12:36:33 -0800 X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org I have an app that gets data from a view and then monitors _changes for updates. Currently it: 1) Gets the update_seq from the database 2) Gets data from a view 3) Connects to _changes since updae_seq from #1 I'm assuming I need to handle duplicate data, as the database could of been modified since the initial get of the update_seq. What would be sexy is for couch to include an "x-update-seq" header for GET requests. In my case, this would mean 1 less http request, and ensure _changes does not include data already reflected in the view. Thoughts? Troy