Giter VIP home page Giter VIP logo

egitd's Introduction

egitd
  by Tom Preston-Werner <[email protected]>

egitd is an Erlang git-daemon implementation that provides a more flexible,
scalable, and loggable way to serve public git repositories.

Development Status: Experimental

This software was in production use at github.com for a short time until it
became obvious that the communications model was flawed. To be specific,
if the upload-pack takes a long time to respond (for big repos), either the
timeouts have to be increased to unreasonable values (slowing the entire
transfer down), or some connections will timeout and fail.

The above problem has actually been solved by a rewrite I (Vagabond) have
been doing as an exercise in how to improve the performance of erlang
applications. egitd is now only marginally slower than git-daemon on the
same repo, and does not suffer the timeout issues mentioned above even on
the large repos like gentoo's portage where github was having problems. I
still don't advocate its use in production, but it might be usable now.

You can see my rewrite notes here: http://andrew.hijacked.us/by_keyword/328/egit


INSTALL
-------

$ git clone [email protected]:mojombo/egitd.git
$ cd egitd
$ make

You can also build by using ./rebar compile, which the Makefile invokes.


RUN
---

$ bin/egitd -c <path to conf file> -l <path to log file>


CONF FILE
---------

The config file specifies the mapping between specified repo name and file location.

github.com        (.+)/(.+)       "/data/git/repositories/" ++ Match1 ++ "/" ++ Match2.

egitd's People

Contributors

mojombo avatar vagabond avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.