Skip to content

Commit 68a23ed

Browse files
committed
tone down stats a bit for memory
1 parent ff1e044 commit 68a23ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/arpnetworking/clusteraggregator/models/PeriodMetrics.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,21 +142,21 @@ public long getStatisticsLatestPeriod() {
142142
private BloomFilter<CharSequence> createServicesBF() {
143143
return BloomFilter.create(
144144
Funnels.stringFunnel(Charsets.UTF_8),
145-
100_000,
146-
0.0001);
145+
10_000,
146+
0.001);
147147
}
148148

149149
private BloomFilter<CharSequence> createMetricsBF() {
150150
return BloomFilter.create(
151151
Funnels.stringFunnel(Charsets.UTF_8),
152-
10_000_000,
152+
1_000_000,
153153
0.001);
154154
}
155155

156156
private BloomFilter<CharSequence> createStatisticsBF() {
157157
return BloomFilter.create(
158158
Funnels.stringFunnel(Charsets.UTF_8),
159-
100_000_000,
159+
10_000_000,
160160
0.005);
161161
}
162162

0 commit comments

Comments
 (0)