You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,6 @@ JanusGraph, coupled with the FoundationDB storage adapter provides the following
9
9
* High availability
10
10
* ACID transactions
11
11
12
-
# Limitations
13
-
14
12
# Compatibility Matrix
15
13
16
14
|FDB Storage Adapter|JanusGraph|FoundationDB|
@@ -19,11 +17,13 @@ JanusGraph, coupled with the FoundationDB storage adapter provides the following
19
17
20
18
# Getting started
21
19
22
-
The FoundationDB storage adapter requires a single FoundatoinDB instance or cluster and the FoundationDB client libraries. Downloads for server and client can be found [here](https://apple.github.io/foundationdb/downloads.html).
20
+
The FoundationDB storage adapter requires a single FoundationDB instance or cluster and the FoundationDB client libraries. Downloads for server and client can be found [here](https://apple.github.io/foundationdb/downloads.html).
23
21
24
22
## Setting up FoundationDB
25
23
26
-
## Installing from a binary release
24
+
Mac install instructions can be found [here](https://apple.github.io/foundationdb/getting-started-mac.html) and Linux [here](https://apple.github.io/foundationdb/getting-started-linux.html).
25
+
26
+
## Installing the adapter from a binary release
27
27
Binary releases can be found on [GitHub](http://github.com/experoinc/janusgraph-foundationdb/releases).
28
28
29
29
This installation procedure will copy the necessary libraries, properties, and Gremlin Server configuration files into your JanusGraph installation.
@@ -53,5 +53,8 @@ Follow these steps if you'd like to use the latest version built from source.
53
53
|-|-|-|
54
54
|`storage.fdb.directory`|Name of the JanusGraph storage directory in FoundationDB.|`janusgraph`|
|`storage.fdb.cluster_file_path`|The location of the `fdb.cluster` file.|`/etc/foundationdb/fdb.cluster`|
57
-
|`storage.fdb.serializable`|JanusGraph transactions are serializable if `true`, read committed if `false`.|`true`|
56
+
|`storage.fdb.cluster-file-path`|The location of the `fdb.cluster` file.|`/etc/foundationdb/fdb.cluster`|
57
+
|`storage.fdb.isolation-level`|The three options are `serializable`, `read_committed_no_write`, and `read_committed_with_write`.|`serializable`|
58
+
59
+
## Isolation Levels
60
+
FoundationDB provides serializable isolation under a specific set of [constraints](https://apple.github.io/foundationdb/known-limitations.html#current-limitations). Namely transactions will fail if they take longer than 5 seconds or read/write more than 10,000,000 bytes. This adapter allows the user to relax the how JanusGraph uses FoundationDB transactions and to spread a single JanusGraph transaction over more than one FoundationDB transaction. `read_committed_no_write` allows reads to be spread across more than one transasction, but will fail any writes that are attempted outside of the first transaction period. `read_committed_with_write` allows reads and writes to extend over more than one single transaction. If this option is selected, invariants may be broken and the system will behave similarily to an eventually consistent system.
0 commit comments