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 60
    • Merge requests 60
  • 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
  • !3759

Add sendfile(2) support to streamcache

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jacob Vosmaer requested to merge jv-streamcache-sendfile into master Aug 12, 2021
  • Overview 37
  • Commits 2
  • Pipelines 12
  • Changes 6

This will make io.Copy from a streamcache entry into a network socket more efficient. It will not necessarily be faster than a regular io.Copy, but the Gitaly server will spend fewer CPU cycles copying the data.

This is part of gitlab-com/gl-infra/scalability#1217 (closed) and split of from !3758 (merged). Without !3758 (merged), the code in this MR will never be called.

Edited Aug 12, 2021 by Jacob Vosmaer
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: jv-streamcache-sendfile