incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <>
Subject Re: Large views and concurrent access
Date Fri, 14 Jun 2013 20:51:28 GMT

On Jun 14, 2013, at 12:09 PM, mangvlad <> wrote:

> I guess I can introduce some caching in my node.js layer, but ideally, 
> I would like to "exhaust" my couchdb options first...

It’s always going to be much faster to cache local objects than to download and parse 1.5MB
of JSON, no matter how fast the CouchDB server gets.
Consider using conditional GETs, so you’ll get the updated view results if they’ve changed,
and a simple 304 response if they haven’t.

View raw message