gophergala2016/drystonedb

Name: drystonedb

Owner: gophergala2016

Description: drystonedb - distributed decentralized database with custom consensus

Created: 2016-01-23 07:10:06.0

Updated: 2016-08-20 17:24:13.0

Pushed: 2016-01-24 20:05:34.0

Homepage:

Size: 24

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

header

drystonedb

Distributed in memory key/value storage with custom consensus algorithm

Solve CAP theorem issues

Consistency

Custom consensus algorithm with version control

Availability

Data available if at least one node (stone) available

Partion tolerance

All nodes (stones) equal, no single point of failure (SPF), client talk with different partitioned nodes

http api
add data

curl -XPOST -v 'http://127.0.0.1:12379/data?g=boom&k=cambala' -d “cobra”

get data

curl -XGET -v 'http://127.0.0.1:12379/data?g=boom&k=cambala'

del data

curl -XDELETE -v 'http://127.0.0.1:12379/data?g=boom&k=cambala'

build

./build.sh

start local

foreman start

implementation

Data write (http post) to random k nodes, k<=n, n - all nodes (scale - ok)
Data read (http get) from n - all nodes (scale -not ok)
Data delete(http delete) from n - all nodes (scale -not ok)


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.