Re: COUCHDB-190

2009-01-30 Thread Chris Anderson
On Fri, Jan 30, 2009 at 10:41 PM, Antony Blakey wrote: > > In the referenced m/l discussion about the issue of GET vs. POST, the point > was made that if there are problems with GET for UUIDs, then there are going > to be similar problems for GETs of documents, views without params, > /_config, /_

Re: Content-Encoding: gzip

2009-01-30 Thread Chris Anderson
On Fri, Jan 30, 2009 at 10:02 PM, Louis Gerbarg wrote: > I am using CouchDB as backend for some iPhone applications, and one of > the issues I have is that that the responses are verbose, which is an > issue over cellular. I decided to take a crack at gzip support, and I > have something working.

Re: COUCHDB-190

2009-01-30 Thread Antony Blakey
On 31/01/2009, at 4:59 PM, Chris Anderson wrote: Part of the point of using POST was to avoid all the compatibility questions with non-conforming user-agents. I understand that bending over backwards for broken UA's is not the best way to go (hence my interest in the patch) but I think we'd do

Re: COUCHDB-190

2009-01-30 Thread Chris Anderson
On Fri, Jan 30, 2009 at 10:13 PM, Zachary Zolton wrote: > JChris, > > Would testing for the this header be sufficient? > > Cache-Control: must-revalidate > Part of the point of using POST was to avoid all the compatibility questions with non-conforming user-agents. I understand that bending over

Re: COUCHDB-190

2009-01-30 Thread Zachary Zolton
JChris, Would testing for the this header be sufficient? Cache-Control: must-revalidate Given the quotation: "Servers SHOULD send the must-revalidate directive if and only if failure to revalidate a request on the entity could result in incorrect operation, such as a silently unexecuted fin

Content-Encoding: gzip

2009-01-30 Thread Louis Gerbarg
I am using CouchDB as backend for some iPhone applications, and one of the issues I have is that that the responses are verbose, which is an issue over cellular. I decided to take a crack at gzip support, and I have something working. A few of you might have seen my post about this on the mochiweb

Re: COUCHDB-190

2009-01-30 Thread Chris Anderson
On Fri, Jan 30, 2009 at 9:50 PM, Zachary Zolton wrote: > So, I've had a patch there, for a few days. I'll provide explanation, > if you want to commit... > Thanks for the reminder. The only thing I'd ask for is adding to the test suite, a verification that the proper cache control headers are bei

COUCHDB-190

2009-01-30 Thread Zachary Zolton
So, I've had a patch there, for a few days. I'll provide explanation, if you want to commit...

Transactional _bulk_docs

2009-01-30 Thread Antony Blakey
Is it possible to get a PMC decision on whether a transactional update API for single-node applications will be provided? I understand that there is not yet PMC concensus on this issue. This is important for an application I am currently developing. Without a transactional interface the cod

Re: Statistics Module

2009-01-30 Thread Chris Anderson
On Fri, Jan 30, 2009 at 5:12 PM, Paul Davis wrote: > > Everything in your source code should be trying to convey meaning as > quickly and efficiently as possible. All these do is add redundant > information and make the tests a pain to read. > > I definitely agree that we could spend some time org

Re: Statistics Module

2009-01-30 Thread Paul Davis
On Fri, Jan 30, 2009 at 2:42 PM, Jan Lehnardt wrote: > Hi Paul, > > thanks for your feedback. > > On 30 Jan 2009, at 00:26, Paul Davis wrote: >> >> Two concerns: >> >> The way that stats are calculated currently with the dependent >> variable being time could cause some issues in implementing more

Re: Statistics Module

2009-01-30 Thread Antony Blakey
On 31/01/2009, at 6:14 AM, Jan Lehnardt wrote: Hi Antony, On 30 Jan 2009, at 06:32, Antony Blakey wrote: [...] I spent some time chasing this down as a bug before realising the problems was in the status granularity! Out of context, but hey. We have one-second-granularity now and we can e

[jira] Commented: (COUCHDB-230) Add Support for Rewritable URL

2009-01-30 Thread Paul Joseph Davis (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669005#action_12669005 ] Paul Joseph Davis commented on COUCHDB-230: --- There's been idle discussion about

Re: rewritable url in couchdb

2009-01-30 Thread Jan Lehnardt
Hi Patrick, thanks for your contribution. JIRA does send us a notification when a new issue is added, no need to follow up here again :) But still, thanks :) Cheers Jan -- On 30 Jan 2009, at 20:56, Patrick Aljord wrote: Hey all, I opened an issue as advised by Paul (davisp) so here it is: h

rewritable url in couchdb

2009-01-30 Thread Patrick Aljord
Hey all, I opened an issue as advised by Paul (davisp) so here it is: https://issues.apache.org/jira/browse/COUCHDB-230 I think it would be a good addition to couch apps to be able to rewrite urls from the db in order to have a standard way to do so and also because it would be easier to replica

[jira] Created: (COUCHDB-230) Add Support for Rewritable URL

2009-01-30 Thread Patrick Aljord (JIRA)
Add Support for Rewritable URL -- Key: COUCHDB-230 URL: https://issues.apache.org/jira/browse/COUCHDB-230 Project: CouchDB Issue Type: New Feature Reporter: Patrick Aljord Fix For: 1.0 I

Re: Statistics Module

2009-01-30 Thread Jan Lehnardt
Hi Antony, On 30 Jan 2009, at 06:32, Antony Blakey wrote: [...] I spent some time chasing this down as a bug before realising the problems was in the status granularity! Out of context, but hey. We have one-second-granularity now and we can even make it finer, if needed. Or a config option.

Re: Statistics Module

2009-01-30 Thread Jan Lehnardt
Hi Paul, thanks for your feedback. On 30 Jan 2009, at 00:26, Paul Davis wrote: Two concerns: The way that stats are calculated currently with the dependent variable being time could cause some issues in implementing more statistics. With my extremely limited knowledge of stats I think moving t

Re: Statistics Module

2009-01-30 Thread Jan Lehnardt
Hi, some more updates from work today: we revamped the aggregator module and we now support aggregate values over a 900 second (15 minutes) period in second-granularity. This gives us max, min, avg and stddev for any time-ranges in the 900 second array. Aggregates are now created automatically f

[jira] Closed: (COUCHDB-109) _all_docs doesn't work with descending=true and no startkey/endkey

2009-01-30 Thread Chris Anderson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Anderson closed COUCHDB-109. -- Resolution: Fixed fixed in r739170 > _all_docs doesn't work with descending=true and no start

RE: ibrowse in CouchDB

2009-01-30 Thread Chandrashekhar Mullaparthi
Woohoo! I was planning to move it to Google code. When I do that, I will send you an updated URL. You are welcome. cheers Chandru -Original Message- From: jch...@gmail.com on behalf of Chris Anderson Sent: Thu 29/01/2009 7:43 PM To: Chandrashekhar Mullaparthi; dev@couchdb.apache.org Sub

[jira] Commented: (COUCHDB-226) HTTP response codes on doc conflict and database conflict may not agree with HTTP spec

2009-01-30 Thread Paul Carey (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668887#action_12668887 ] Paul Carey commented on COUCHDB-226: So, there's consensus on returning a 409 in case

[jira] Commented: (COUCHDB-226) HTTP response codes on doc conflict and database conflict may not agree with HTTP spec

2009-01-30 Thread Paul Joseph Davis (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668787#action_12668787 ] Paul Joseph Davis commented on COUCHDB-226: --- Making a note that I agree with the

Re: [jira] Closed: (COUCHDB-226) HTTP response codes on doc conflict and database conflict may not agree with HTTP spec

2009-01-30 Thread Jan Lehnardt
On 30 Jan 2009, at 04:52, Chris Anderson (JIRA) wrote: [ https://issues.apache.org/jira/browse/COUCHDB-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Anderson closed COUCHDB-226. -- Resolution: Fixed I'm committing a f