Version 0.1.2-ALPHA
Pre-releaseTies.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:
- Apache Maven (version >= 3.5.2) from https://maven.apache.org/download.cgi
- Apache Ant (version >= 1.10.5) from https://ant.apache.org/bindownload.cgi
- Git SCM (version >= 2.15) from https://git-scm.com/downloads
- Java Development Kit (version >= 1.8) from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
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
.