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

Fair-share queuing of hosting operations

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Git Hosting, Mesh
    • None
    • 11
    • 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.

      Problem:
      Bitbucket’s hosting ticket mechanism uses a semaphore that implements a FIFO queue. This means that if (for example) Bamboo submits 1000 clone requests for repository A and then someone comes along wanting to clone repository B once they have to wait for all of the clones of A to complete.

      Solution:
      Fair share scheduling of hosting operations. Instead of a FIFO queue, use a priority queue based approach where repositories or users that have not been very active are allowed to be prioritised over repositories or users that have been very active (either active currently, or in the recent past).

              Unassigned Unassigned
              c95a692b3157 Stanley Su
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: