summarylogtreecommitdiffstats
path: root/transactor.properties
blob: 361b0634ce4126ae7314ebd21b326aff42d512dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
################################################################
# Basic connection settings.

protocol=free
host=localhost
port=4334



## OPTIONAL ####################################################
# The dev: and free: protocols typically use three ports
# starting with the selected :port, but you can specify the
# other ports explicitly, e.g. for virtualization environs
# that do not issue contiguous ports.

# h2-port=4335
# h2-web-port=4336



################################################################
# See http://docs.datomic.com/capacity.html


# Recommended settings for -Xmx4g, ongoing usage.
memory-index-threshold=32m
memory-index-max=128m
object-cache-max=1g

# Recommended settings for -Xmx4g import jobs.
# memory-index-threshold=512m
# memory-index-max=1g
# object-cache-max=1g

# Recommended settings for -Xmx1g usage, e.g. dev laptops.
# memory-index-threshold=32m
# memory-index-max=128m
# object-cache-max=128m



## OPTIONAL ####################################################


# Set to false to disable SSL between the peers and the transactor.
# Default: true
# encrypt-channel=true

# Data directory is used for dev: and free: storage, and
# as a temporary directory for all storages.
data-dir=/var/lib/datomic/data

# Transactor will log here, see bin/logback.xml to configure logging.
log-dir=/var/lib/datomic/log

# Transactor will write process pid here on startup
# pid-file=transactor.pid



## OPTIONAL ####################################################
# See http://docs.datomic.com/capacity.html


# Soft limit on the number of concurrent writes to storage.
# Default: 4, Miniumum: 2
# write-concurrency=4

# Soft limit on the number of concurrent reads to storage.
# Default: 2 times write-concurrency, Miniumum: 2
# read-concurrency=8