Using Varnish to accelerate CouchDB

Karel Minařík karel.minarik at gmail.com
Sun Nov 7 10:55:47 CET 2010


Hello,

> We (Cloudant) have actually discussed implementing exactly that in  
> CouchDB. I agree with Per that it wouldn't be difficult to do, we  
> just haven't gotten around to it.

I've noticed some native caching is coming for Couch 1.1.0 [http://www.apacheserver.net/memrioa-management-at1047105.htm 
], but know no details.

> TTLs are good enough in some cases but cache invalidation is the  
> only way to go in many.

Yes, in many cases "expiration" based caching makes sense.  
"Validation" based caching would be really handy, though. But maybe as  
non-trivial as cache invalidation of view results, fulltext queries,  
etc based on changes of individual docs...

Karel




More information about the varnish-misc mailing list