caching of view queries
Tue, 12/27/2011 - 10:08
we are looking at couchbase 2.0 to query both key-value and views. My understanding is for view queries you will use the HTTP CRUD interface directly to couchdb.
Does CouchDB cache view results in memory (next to memcache)? For example will the result of HTTP API query against a view be cached in memory for x period of time? I am interested in avoiding disk with the view queries if possible.
Thanks
Kevin
View queries are not directly cached at this time. There may not be an actual physical IO associated with your view request though, as if it's frequently accessed the filesystem cache will probably have all of that view in memory.