incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <>
Subject Re: Surprisingly high CPU load
Date Thu, 31 Mar 2011 09:29:12 GMT
Cache invalidation is surprisingly hard, which is why couchdb relies
on the well-tested OS disk cache instead.

That said, some interesting, and not too complicated, suggestions have
cropped up on IRC from time to time, perhaps something will change.


On 31 March 2011 08:47, bryan rasmussen <> wrote:
>> This could be an interesting "feature" in CouchDB. Since it "knows"
>> about the changes and revisions, it could cache the the latest
>> revisions of a certain number of documents (memory threshold of sorts)
>> in memory and return it without disk seeks.
> I had actually expected something like this was already being done -
> as you say 'Since it "knows"'...
> Best Regards,
> Bryan Rasmussen

View raw message