Skip to content

Client should open only one HTTP2 connection to CAS cache server

Background

There seems to be issues to connect to the CAS cache server. Now and then clients get a timeout in connect(). While investigating that, I realized that we have multiple connections, from the client. One for each job. This could lead to poor performance and also slow down the capacity for the sever to handle accept() for new connections.

Examples of failures:

Task description

All RPC should be made to go through one process, and multiplexed into one connection.

Acceptance Criteria


Edited by Valentin David
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information