Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

has anyone produced an in-memory GIT repository?

I would like to be able to take advantage of the benefits of GIT (and its workflows), but without the cost of disk access - I just would like to leverage the distributed revision control capabilities of GIT to produce something like a hybrid of memcached and GIT. (preferably in .NET)

Is there such a beast out there?

like image 508
Andrew Matthews Avatar asked May 18 '10 05:05

Andrew Matthews


People also ask

How big should a Git repository be?

We recommend repositories remain small, ideally less than 1 GB, and less than 5 GB is strongly recommended. Smaller repositories are faster to clone and easier to work with and maintain.

How do I manage large Git repository?

scalar - A tool for managing large Git repositories Scalar is a repository management tool that optimizes Git for use in large repositories or registering existing repositories with Scalar, your Git repositories. Scalar improves performance by configuring advanced Git settings, experience will speed up.


1 Answers

Why don't you just use the Windows version of git and call it using Process.Start()?

As for the storage, you could have the repository in a RAM disk (like Andrew suggested above), but I'm not sure how big the performance gain would be. I would think that having it on harddisk is perfectly fine, especially considering that if you use it often, it would be in cached in RAM anyway.

like image 112
svick Avatar answered Sep 25 '22 22:09

svick