diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2021-06-18 16:37:14 +0200 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2021-06-21 09:33:03 +0200 |
commit | 29c87dc9d238b30be264101c76065ac25039f60e (patch) | |
tree | 4e6248e4994077e1d6723efae2a796a7da4c41a1 /vespa-feed-client | |
parent | df729adc7deebaae7101b2342fa108c50dac5555 (diff) |
Weight throughput higher
Diffstat (limited to 'vespa-feed-client')
-rw-r--r-- | vespa-feed-client/src/main/java/ai/vespa/feed/client/DynamicThrottler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-feed-client/src/main/java/ai/vespa/feed/client/DynamicThrottler.java b/vespa-feed-client/src/main/java/ai/vespa/feed/client/DynamicThrottler.java index ef4d228466b..6d23fed33f8 100644 --- a/vespa-feed-client/src/main/java/ai/vespa/feed/client/DynamicThrottler.java +++ b/vespa-feed-client/src/main/java/ai/vespa/feed/client/DynamicThrottler.java @@ -23,7 +23,7 @@ public class DynamicThrottler extends StaticThrottler { private final AtomicLong targetInflight; private long updateNanos = 0; private final List<AtomicReference<Double>> latencies = new ArrayList<>(); - private final double weight = 0.5; // Higher weight favours higher (exclusive) throughput, at the cost of (shared) latency. + private final double weight = 0.7; // Higher weight favours higher (own) throughput, at the cost of (shared) latency. public DynamicThrottler(FeedClientBuilder builder) { super(builder); |