couch_httpd inconsistency ?

2011-12-21 Thread Benoit Chesneau
Hi, I notice that we register the http server as `couch_httpd` instead of `http` in processes while for https we are registering it as `https`. Are teher any reason for that? It's a little inconsistent I propose this patch to fix that: diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/c

Re: Understanding the CouchDB file format

2011-12-21 Thread Riyad Kalla
Thank you Robert, fixed. On Wed, Dec 21, 2011 at 1:42 PM, Robert Dionne wrote: > Riyad, > > Your welcome. At a quick glance your post has one error, internal nodes do > contain values (from the reductions). The appendix in the couchdb book also > makes this error[1] which I've opened a ticket fo

Re: Understanding the CouchDB file format

2011-12-21 Thread Robert Dionne
Riyad, Your welcome. At a quick glance your post has one error, internal nodes do contain values (from the reductions). The appendix in the couchdb book also makes this error[1] which I've opened a ticket for. Cheers, Bob [1] https://github.com/oreilly/couchdb-guide/issues/450 On Dec 21,

Re: Understanding the CouchDB file format

2011-12-21 Thread Riyad Kalla
Bob, Really appreciate the link; Rick has a handful of articles that helped a lot. Along side all the CouchDB reading I've been looking at SSD-optimized data storage mechanisms and tried to coalesce all of this information into this post on Couch's file storage format: https://plus.google.com/u/0

Re: Understanding the CouchDB file format

2011-12-21 Thread Robert Dionne
I think this is largely correct Riyad, I dug out an old article[1] by Rick Ho that you may also find helpful though it might be slightly dated. Generally the best performance will be had if the ids are sequential and updates are done in bulk. Write heavy applications will eat up a lot of space a

Re: Understanding the CouchDB file format

2011-12-21 Thread Riyad Kalla
Adding to this conversation, I found this set of slides by Chris explaining the append-only index update format: http://www.slideshare.net/jchrisa/btree-nosql-oak?from=embed Specifically slides 16, 17 and 18. Using this example tree, rewriting the updated path (in reverse order) appended to the e

[jira] [Updated] (COUCHDB-1347) Filtered replication does not work when a target document is purged

2011-12-21 Thread Benjamin ter Kuile (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin ter Kuile updated COUCHDB-1347: Attachment: passing_replication.log failing_replication.log Runni