CouchDB 1.1.0
couchdb.apache.org
couchdb.apache.org
We would like to push support related data from a customer db (inaccessible from the outside) into an external server.
Sadly my data is too write/update-heavy and just keeps on growing and growing. This means that I'll have to use compaction if I don't want to run out of space sooner or later. Starting compaction will kill performance over several hours and depending on the amount of written data might not even be able to finish :(
https://github.com/couchbase/couchdb/blob/preview/etc/couchd...
* Added OS Process module to manage daemons outside of CouchDB.
* Added HTTP Proxy handler for more scalable externals.
What these effectively mean is that you can write CouchDB handlers in the language of your choice as long as they speak http. You can get the full details from the author of the above patches here:
http://davispj.com/2010/09/26/new-couchdb-externals-api.html
This makes possible things like LivelyCouch, integrating node.js with Couch:
* Added _replicator database to manage replications.
It used to be that if a continuous replication was launched but the server was re-started that replication task was lost. Now it will continue where it left off.
* Added support for HTTP range requests for attachments.
Just looking at the unit-test for this commit, you can apparently specify a range of bytes out of an attachment and fetch only that.
var xhr = CouchDB.request("GET", "/test_suite_db/bin_doc/foo.txt", {
headers: {"Range": "bytes=10-15"}
});
* Added stale=update_after query option that triggers a view update after returning a stale=ok response.Before, if stale=ok was passed to a view then you'd just get back stale view data and (I am guessing) a view update wasn't triggered. Normally a view update is triggerred the frist time the view is accessed after documents have been updated. However that could take a while for the views to regenerate. Now with stale=update, stale data is returned but an view update is _also_ triggerred in the background.
* Added configuration option for TCP_NODELAY aka “Nagle”.
Should help for situations where you'd want to trade some throughput for latency. Your packets will be sent out sooner, they will be smaller, but there will probably be lots more of them. See here for more :
http://en.wikipedia.org/wiki/Nagle%27s_algorithmhttp://www.couchbase.org/wiki/display/membase/Releases
Does anyone know if theirs was an early release of 1.1? Or are their version numbers out of sync with the Apache versions?
So far, there are only mac builds (because I'm building them and that's what I'm deploying on), but Linux should come shortly and we should stop calling it alpha.
If you've got a mac and want to try out some new stuff, do this and complain to me about anything you don't like: https://gist.github.com/951106