Skip to content

Version 0.1.2-ALPHA

Pre-release
Pre-release
Compare
Choose a tag to compare
@ya-enot ya-enot released this 21 Dec 14:48
· 47 commits to dev since this release
abe975d

Ties.DB v0.1.2 stepping up to the next stage of network architecture. New infrastructure entity disclosed in this release is called Coordinator. Coordinator is a working unit in distribution and navigation layer. It coordinates request to the nodes and recollects responses to the client according to the given consistency level.

Features

  • Added Coordinator module
  • Coordination of CRUD operations
  • CRUD consistency is managed by Coordinator
  • Added schema request support

Run instructions

Before running a TiesDB Node or Coordinator you should install go-ethereum locally following the instructions from https://github.com/ethereum/go-ethereum/wiki/Building-Ethereum. After installation succeeded you could start geth for rinkeby network using the following command:

geth --rinkeby --datadir .rinkeby --cache 512 --rpc --rpcaddr 127.0.0.1 --syncmode "light"

After geth is successfully starting you should wait for full synchronisation with selected network, to be able to access newly created tables.
For running a TiesDB Node instance please install it by downloading and unpacking the binary distribution or building it from source. Then run in the installation directory the following command for the TiesDB Node:

bin/tiesdb

Or this one for the TiesDB Coordinator:

bin/tiesdb-coordinator

Build instructions

For building a TiesDB Node or Coordinator from sources you should preinstall several tools:

After installing prerequisites run the following commands in sources directory:

For building custom version of cassandra (required for TiesDB node):

cd node/node-elassandra/elassandra/core/cassandra
ant clean mvn-install

For building TiesDB Node:

mvn package -Pnode -Pnode-elassandra

For building TiesDB Coordinator:

mvn package -Pcoordinator

For building all TiesDB modules:

mvn package -DbuildAll -Pnode-elassandra

On successful build you could find assembled binary package in *module-name*/target directories, like node/node-elassandra/target or coordinator/target.