From:  Dump Hole
Reply-To:  <[email protected]>
Date:  Friday, February 27, 2015 at 1:58 PM
To:  <[email protected]>
Subject:  Dealing with stale views

What is your advice on dealing with stale views?  I have been passing 
stale=false, and this degrades the performance.  Is there a way to force 
Couchbase to update the index on update/create, rather than get?  My app 
is GET heavy, so it's better to do it on insert/update.

If you publish the view from dev mode, it’ll automatically be updated in 
background regularly.  The frequency is tune-able if you modify the design 
document directly through REST.  I believe the frequency is 5sec by 
default but can be tuned down.

The other approach is update_after.

Would either of those help?

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to