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

Reduce Database load by 'gating' the number of non-critical updates done

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 4.13.0
    • Enterprise
    • None
    • 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

      Problem Definition

      Certain Database updates happen every time a user authenticates with Bitbucket. This can be the result of a REST call using Basic auth, a login using the web UI or an authentication via Git.
      Some of these updates don't need to happen on every authentication, if they have occurred very recently.
      Examples of this are updating the user's last authenticated timestamp, or recently accessed repository list.

      Suggested Solution

      "Gate" the number of updates we do, in order to reduce the number of updates in the Database.
      This means, only update the last authenticated timestamp and recently accessed repositories a maximum of once every 60 seconds, per user.

      Attachments

        Issue Links

          Activity

            People

              fhaehnel Felix
              fhaehnel Felix
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: