aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/config/stor-communicationmanager.def
blob: 33b3ec37c049fcedba8b6d5493de01302a02380c (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
# Copyright 2017 Yahoo Holdings. 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

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

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

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

## Number of threads for network.
## Any value below 1 will be 1.
mbus.num_threads int default=1

mbus.optimize_for enum {LATENCY, THROUGHPUT} default = THROUGHPUT

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

## Enable to use above thread pool for decoding replies
## False will use network(fnet) thread
## Todo: Change default once verified in large scale deployment.
mbus.dispatch_on_decode bool default=true