-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:tomdionysus/trinity
- Loading branch information
Showing
28 changed files
with
404 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
# This script launch several node so it easier to test federation and data repartition | ||
|
||
build/trinity-server --ca cert/ca.pem --cert cert/localhost.pem --loglevel info -memcache --memcacheport 11212 --node localhost:13531 --port 13532 & | ||
build/trinity-server --ca cert/ca.pem --cert cert/localhost.pem --loglevel info -memcache --memcacheport 11213 --node localhost:13531 --port 13533 & | ||
build/trinity-server --ca cert/ca.pem --cert cert/localhost.pem --loglevel info -memcache --memcacheport 11214 --node localhost:13531 --port 13534 & | ||
build/trinity-server --ca cert/ca.pem --cert cert/localhost.pem --loglevel info -memcache --memcacheport 11215 --node localhost:13531 --port 13535 & | ||
build/trinity-server --ca cert/ca.pem --cert cert/localhost.pem --loglevel info -memcache --memcacheport 11216 --node localhost:13531 --port 13536 & | ||
build/trinity-server --ca cert/ca.pem --cert cert/localhost.pem --loglevel info -memcache --memcacheport 11217 --node localhost:13531 --port 13537 & | ||
build/trinity-server --ca cert/ca.pem --cert cert/localhost.pem --loglevel info -memcache --memcacheport 11218 --node localhost:13531 --port 13538 & | ||
build/trinity-server --ca cert/ca.pem --cert cert/localhost.pem --loglevel info -memcache --memcacheport 11219 --node localhost:13531 --port 13539 & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
# This script just spawn and kill instance to see how the system react | ||
|
||
while [ 1 ]; do | ||
timeout 1 build/trinity-server --ca cert/ca.pem --cert cert/localhost.pem --loglevel info --node localhost:13531 --port 13539 | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
![Trinity DB Logo](../gfx/trinity_m.png) | ||
|
||
# Trinity DB - Consistency Modes | ||
|
||
Trinity is intended to have 3 consistency modes, selectable per client session. | ||
|
||
## WRITE_UNCOMMITTED | ||
|
||
Writes will return immediately - the write is not guaranteed to have been persisted to disk on any node node, the disk persistence and replication on nodes will happen asynchronously. This is the fastest and least consistent mode. | ||
|
||
## WRITE_COMMITED | ||
|
||
Writes will return when they have been persisted to disk on at least one node, the replication to other nodes will happen asynchronously. This is the **default** mode and represents a balance between performance and consistency. | ||
|
||
## WRITE_REPLICATED | ||
|
||
Writes will return only after they have been persisted on all replication nodes - the write is guaranteed to have been persisted across multiple nodes. This is the slowest and most consistent mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.