VictoriaMetrics/app/vminsert/common
Aliaksandr Valialkin 52c13e9515
lib/streamaggr: follow-up for 736197179e
- Use a byte slice instead of a map for tracking indexes for matching series.
  This improves performance, since access by slice index is faster than access by map key.
- Re-use the byte slice for tracking indexes for matching series.
  This removes unnecessary memory allocations and improves stream aggregation performance a bit.
- Add an ability to return to the previous behvaiour by specifying -remoteWrite.streamAggr.dropInput command-line flag.
  In this case all the input samples are dropped when stream aggregation is enabled.
- Backport the new stream aggregation behaviour from vmagent to single-node VictoriaMetrics when -streamAggr.config
  option is set.
- Improve docs regarding this change at docs/CHANGELOG.md
- Document the new behavior at docs/stream-aggregation.md

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4243
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/4575
2023-07-24 17:05:26 -07:00
..
insert_ctx.go lib/streamaggr: follow-up for 736197179e 2023-07-24 17:05:26 -07:00
insert_ctx_pool.go all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:29 +02:00
sort_labels.go app/{vminsert,vmagent}: add -sortLabels command-line option for sorting time series labels before ingesting them in the storage 2021-03-31 23:27:58 +03:00
streamaggr.go lib/streamaggr: follow-up for 736197179e 2023-07-24 17:05:26 -07:00