Re:How a fix in Go 1.9 sped up our Gitaly service by 30x
by Animats on Thursday January 25, 2018 @09:29PM
(#16236603)
Use something like boring old FCGI. FCGI spawns off N workers, which process one request at a time. If a worker crashes, it's restarted. Workers are usually restarted every once in a while to deal with any memory leaks.
Read-only requests with no security implications get done by in the worker process, which has read permissions for public files. More complex requests spawn a Git client program.
Read-only requests with no security implications get done by in the worker process, which has read permissions for public files. More complex requests spawn a Git client program.
It would be so uncool, though.