incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Bénel <aurelien.be...@utt.fr>
Subject Re: View cache invalidation
Date Wed, 11 Apr 2012 18:11:13 GMT
Hi Julien,

> We are using CouchDb over ektorp (Java) and we seem to constantly run into
> the problem of views returning old results or invalid result.

I have no experience with ektorp. But it is rather easy to build a java library which invalidates
the cache on _changes:

https://github.com/Hypertopic/Porphyry/blob/master/src/org/hypertopic/RESTDatabase.java
https://github.com/Hypertopic/Porphyry/blob/master/src/org/hypertopic/RESTDatabaseTest.java


Regards,

Aurélien
Mime
View raw message