Skip to content

Create PackObjectsHook RPC in Gitaly, without caching

  • Create the hook so that we can gather data about what we will be caching.
  • Roll out to gitlab-org/gitlab server.

Development:

Outcomes:

  • Observe CPU / memory overhead of having the hook
  • Reliably observe number of requests (SSHUploadPack and PostUploadPack over-count)
  • Log would-be cache keys for hook requests, so we can predict cache hit ratios
  • Log bytes served so we can predict storage and IO needs
Edited by Jacob Vosmaer