aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/config/stor-communicationmanager.def
blob: b398440f5f6564dc71da5adcd76ab7592503d4ba (plain) (blame)
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
72
73
74
75
76
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=vespa.config.content.core

mbusport int default=-1 restart

rpcport int default=6000 restart

# Limits for max pending concurrent number of operations towards a node before
# MessageBus starts busy-bouncing messages. Distributor and content nodes are
# treated separately. 0 means no limit.
mbus_distributor_node_max_pending_count int default=5000
mbus_content_node_max_pending_count int default=0

# Limits for max total amount of memory (in bytes) used by operations towards
# a node before MessageBus starts busy-bouncing messages. Distributor and
# content nodes are treated separately. 0 means no limit.
mbus_distributor_node_max_pending_size int default=0
mbus_content_node_max_pending_size int default=0

# Minimum size of packets to compress (0 means no compression)
mbus.compress.limit int default=1024 restart

## Compression level for packets
mbus.compress.level int default=3 restart

## Compression type for packets.
mbus.compress.type enum {NONE, LZ4, ZSTD} default=LZ4 restart

## TTL for rpc target cache
mbus.rpctargetcache.ttl double default = 600 restart

## Number of rpc targets per spec
mbus.num_rpc_targets int default=2 restart

## Use tcpNoDelay for mbus network writes
mbus.tcp_no_delay bool default=true restart

## Number of threads for network.
mbus.num_network_threads int default=1 restart

## The number of events in the queue of a network (FNET) thread before it is woken up.
mbus.events_before_wakeup int default=1 restart

## Enable to use above thread pool for encoding replies
## False will use network(fnet) thread
## Deprecated and void
mbus.dispatch_on_encode bool default=true restart

## Enable to use above thread pool for decoding replies
## False will use network(fnet) thread
## Deprecated and void
mbus.dispatch_on_decode bool default=true restart

## The number of network (FNET) threads used by the shared rpc resource.
rpc.num_network_threads int default=2 restart

## The number of events in the queue of a network (FNET) thread before it is woken up.
rpc.events_before_wakeup int default=1 restart

## The number of (FNET) RPC targets to use per node in the cluster.
##
## The bucket id associated with a message is used to select the RPC target.
## This ensures the same RPC target is used for all messages to the same bucket to the same node,
## and the RPC target itself handles sequencing of these messages.
## NB !! It is vital that this number is kept in sync with stor-filestor:num_network_threads.
## Only skilled vespa core developers should touch this.
rpc.num_targets_per_node int default=2 restart

# Minimum size of packets to compress (0 means no compression)
rpc.compress.limit int default=1024 restart

## Compression level for packets
rpc.compress.level int default=3 restart

## Compression type for packets.
rpc.compress.type enum {NONE, LZ4, ZSTD} default=LZ4 restart