shalupov / jgit_cassandra Goto Github PK
View Code? Open in Web Editor NEWThis project forked from spearce/jgit_cassandra
Cassandra based storage layer for JGit
License: Other
This project forked from spearce/jgit_cassandra
Cassandra based storage layer for JGit
License: Other
org.eclipse.jgit.storage.cassandra ---------------------------------- This package is a trivial implementation of the org.eclipse.jgit.storage.dht.spi interface, binding JGit's generic DHT storage onto the Apache Cassandra NoSQL database. Install Cassandra 0.7 or later, and start it on at least one node. The MAX_HEAP_SIZE setting needs to be at least 2G to work with the 400M linux-2.6.git repository: MAX_HEAP_SIZE=2G cassandra/bin/cassandra -f Define the keyspace and schema in Cassandra: cassandra/bin/cassandra-cli --host localhost --file schema.cs Compile this package, you may need JGit first: (cd ../jgit && mvn clean install) mvn clean package Create a repository: java -jar ./target/jgit-cs.jar \ cassandra-init \ git+cassandra://localhost/test/git_store/jgit.git A git+cassandra repository URI has the obvious hostname component (here "localhost"). The path starts with a cluster name, which is only used internally for the connection pool (here "test"), and then has the keyspace name (here "git_store"). The remainder of the URI path is the repository path name ("jgit.git"). Launch a Git daemon, which needs at least 800M to handle the linux-2.6 repository. Currently JGit's DHT implementation holds onto the entire pack during receive, to implement delta resolution efficiently. java -Xmx800m -jar ./target/jgit-cs.jar cassandra-daemon \ --enable receive-pack git+cassandra://localhost/test/git_store Push to it: git push git://localhost/jgit.git master Clone from it: git clone git://localhost/jgit.git
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.