Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
freakmaxi committed May 3, 2020
1 parent 1571c4e commit 55d67c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ they'll be used in the same cluster. Size value should be uint64. Ex: `107374182

- `ROOT_PATH` (optional) : The path to store file blocks. Default: `/opt`

- `CACHE_LIMIT` (optional): Small sized files can be cached for fast access. Value should be uint64 in byte format
Default: `0` (disabled)

- `CACHE_LIFETIME` (optional): Cache lifetime. When it reaches to the limit, garbage collector will free up the memory.
Value should be uint64 in minutes. Default: `360` (6 hours)

### Data Node
Data nodes are smart enough to sync each other. Every create and delete request will be distributed between nodes
using the manager as a gateway. On the first run, if manager node is not accessible, it will start as stand-alone. When
Expand Down

0 comments on commit 55d67c0

Please sign in to comment.