4 ms·
You will have to go out of Ceph and build a middleware to route the git operations on the right shard. Take a look at libgit2[0] for that. It is pretty easy to
by Loic 10y ago
You will have to go out of Ceph and build a middleware to route the git operations on the right shard. Take a look at libgit2[0] for that.
It is pretty easy to build such middleware both for the git over ssh (a simple script performing a lookup of where the shard is and then you connect to shard to operate there) and just a little bit more for the http part. At the webapp level, you will have a kind of RPC to run the git related operations which will connect to the right shard to run the operations.
When you use Ceph you are basically running a huge FS at the full scale of your GitLab installation, but practically, you have many independent datasets within your GitLab installation and you do not need to pay the cost for the global consistency of Ceph. You have many islands of data.
[0]: https://github.com/libgit2/ https://github.com/libgit2/
Edit: Typos/missing words.