Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gitaly gitaly
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 557
    • Issues 557
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 57
    • Merge requests 57
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • gitalygitaly
  • Merge requests
  • !3758

Add PackObjectsHookWithSidechannel RPC

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jacob Vosmaer requested to merge jv-pack-objects-hook-unix-socket into master Aug 12, 2021
  • Overview 70
  • Commits 4
  • Pipelines 13
  • Changes 13

gitlab-com/gl-infra/scalability#1217 (closed)

This is part of gitlab-com/gl-infra&463 (closed), where we are working on making the Git HTTP fetches faster at the transport level. PackObjectsHook is one of the RPC's on the critical path. This MR adds a new RPC PackObjectsHookWithSidechannel that uses a Unix socket sidechannel for the data transfer. This avoids the overhead of gRPC.

On its own, this will reduce CPU usage on Gitaly servers that serve a lot of fetch traffic, but we will not see the full benefits until we have improved PostUploadPack too. That is the other half of gitlab-com/gl-infra&463 (closed).

Edited Aug 19, 2021 by Jacob Vosmaer
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: jv-pack-objects-hook-unix-socket