You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2016/07/11 12:37:10 UTC

[jira] [Created] (COUCHDB-3054) chttpd cache invalidation is slow

Robert Newson created COUCHDB-3054:
--------------------------------------

             Summary: chttpd cache invalidation is slow
                 Key: COUCHDB-3054
                 URL: https://issues.apache.org/jira/browse/COUCHDB-3054
             Project: CouchDB
          Issue Type: Bug
            Reporter: Robert Newson


The chttpd_auth_cache module follows the changes feed of the clustered _users database in order to invalidate the cache whenever a document changes.

This can take over a minute to occur. It turns out we kill the changes feed process when we receive a heartbeat and restart the feed, leading to a long delay.

We do want to stop periodically in order to close databases that might have been compacted.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)