This repository was archived by the owner on Jul 19, 2023. It is now read-only.
Commit 2e318c0
authored
Dedupe merge improvement. (#656)
* Avoid creating a new goroutine for every profiles when deduping
* Removes gzip compression when using querier
* Removes next async
* Only async for the first batch
* Do not sort in ingester and reduce batch size
* Reuse rewrite array
* Revert batch size
* Add a span
* Loser tree
* Correctly count dupe
* Removes allocations from At
* Remove allocation from the keep responses
* Removes gzip compression change
* Fetch the first batch async
* Removes sort change.
* make fmt lint1 parent 39a8593 commit 2e318c0
File tree
5 files changed
+549
-179
lines changed- pkg
- model
- querier
- util/loser
5 files changed
+549
-179
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
21 | 32 | | |
22 | 33 | | |
23 | 34 | | |
| |||
35 | 46 | | |
36 | 47 | | |
37 | 48 | | |
38 | | - | |
| 49 | + | |
39 | 50 | | |
40 | 51 | | |
41 | 52 | | |
42 | 53 | | |
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
46 | | - | |
| 57 | + | |
47 | 58 | | |
48 | 59 | | |
49 | 60 | | |
| |||
0 commit comments