Giter Site home page Giter Site logo

jgit-aws's Introduction

jgit-aws Build Status

This is a (fairly naive) implementation of a JGit Git repository using Amazon DynamoDB and S3 as a store. It is built on the JGit DfsRepository - and it is not particularly optimized. It is at a very early stage and has not been properly tested. Nonetheless, I am hoping this is useful for others - and a bit selfishly, I am hoping people will report back issues, contributions.

Usage

Usage is fairly straighforward - create a new instance of the AmazonRepository using the AmazonRepository.Builder, and passing in a JGitAwsConfiguration setup the way you like.

Storage

The repository uses a Dynamo table called jga.Refs to store Git refs, a Dynamo table called jga.Configurations to store a repository's config, a single S3 bucket called jga.Packs to store pack file contents, and a Dynamo table called jga.PackDescriptions to store meta-data about the pack files. All these names are configurable.

Configuration

You can configure the Dynamo table names, as well as the S3 bucket name by setting the appropriate properties on JGitAwsConfiguration. Note that you can also configure the initial provisioned throughput used on the Dynamo tables using JGitAwsConfiguration - by default they are all set up for 1 read unit and 1 write unit. Scaling this up is up to you to do manually or using a tool such as Dynamic DyanmoDB.

jgit-aws's People

Contributors

rchodava avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.