Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-8815

Switch VersionAwareAvatarUrlDecorator atlassian-cache Caches to hybrid mode

    XMLWordPrintable

Details

    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      In Bitbucket Data Center versions up to and including 4.6.0, the VersionAwareAvatarUrlDecorator caches that back project and users avatars are configured in .replicateViaCopy() mode. This means their contents are distributed over cluster nodes, and in order to get, update, or remove a value a cluster node may perform a remote operation to another cluster node.

      Beginning with Bitbucket Data Center 4.7.0, these caches are configured in .replicateByInvalidation() mode, so values are cached independently by each cluster node, and invalidations of stale values on other cluster nodes are fully asynchronous. This results in less coupling between cluster nodes, is more scalable, and reduces the chance that delays on one node (e.g., due to very long GC pauses or OS/networking issues) also affect other nodes in the cluster.

      Attachments

        Issue Links

          Activity

            People

              cszmajda Cristan Szmajda (Inactive)
              cszmajda Cristan Szmajda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: