Skip to content
Snippets Groups Projects
Select Git revision
  • master default
  • georgekoltsov/update-import-archive-file-validator
  • docs-api-fuzzing-runner-update
  • pb-move-ci-badge-to-vue-test-utils
  • 285110-add-vue-admin-user-modals
  • display-iteration-issues-in-subgroups
  • 227259-feature-highlight-popover
  • 320832-upgrade-thin
  • 296717-threat-monitoring-alerts-details
  • jswain_upload_button
  • 227259-migrate-feature-highlight-popover-to-gitlab-ui
  • mjang-add-link-ref-mr52769
  • psea-search-settings
  • 13843-regularly-reverify-packages-on-primary
  • 292830-track-merge-request-wip-change-events
  • dora4-lead-time-rest-api
  • 299126-api-fuzzing-configuration-form
  • 267344-test-report-file-name-link
  • devops-adoption-pivot
  • 300458-send-gitlab_standard-context-with-requirements-events-from-the-frontend
  • v13.9.0-rc41-ee
  • v13.8.3-ee
  • v13.6.6-ee
  • v13.7.6-ee
  • v13.8.2-ee
  • v13.8.1-ee
  • v13.7.5-ee
  • v13.8.0-ee
  • v13.8.0-rc42-ee
  • v13.5.7-ee
  • v13.6.5-ee
  • v13.7.4-ee
  • v13.7.3-ee
  • v13.5.6-ee
  • v13.6.4-ee
  • v13.7.2-ee
  • v13.7.1-ee
  • v13.7.0-ee
  • v13.7.0-rc42-ee
  • v13.6.3-ee
40 results

id-optimize-branches-index.yml

Forked from GitLab.org / GitLab
Source project has a limited visibility.
  • Igor Drozdov's avatar
    ab715a69
    Use Gitaly keyset pagination to optimize branches page · ab715a69
    Igor Drozdov authored
    Gitaly keyset pagination returns a limited number of
    branches. We can use it instead of fetching all
    branches and then paginating them manually.
    
    Projects::BranchesByModeService is introduced.
    It uses Gitaly page-token pagination in order to
    optimally fetch branches.
    The drawback of the page-token pagination is that
    it doesn't provide an option of going to the previous
    page of the collection.
    That's why we need to fall back to offset pagination
    when previous page is requested.
    ab715a69
    History
    Use Gitaly keyset pagination to optimize branches page
    Igor Drozdov authored
    Gitaly keyset pagination returns a limited number of
    branches. We can use it instead of fetching all
    branches and then paginating them manually.
    
    Projects::BranchesByModeService is introduced.
    It uses Gitaly page-token pagination in order to
    optimally fetch branches.
    The drawback of the page-token pagination is that
    it doesn't provide an option of going to the previous
    page of the collection.
    That's why we need to fall back to offset pagination
    when previous page is requested.