mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-05-17 00:26:36 +03:00
I expect the change to help in two ways: 1. Spreading remote write flushes over the flush interval to avoid congestion at the remote write destination; 2. Enhance queue data consumption. Currently, all flushers may always flush data simultaneously, resulting in periods where no flushers are consuming data from the queue, which increases the risk of reaching the queue limit `remoteWrite.maxQueueSize` even when a increased `remoteWrite.concurrency`. By making the flushers more dispersed, it is more likely that some flushers are consistently consuming data from the queue, which should make queue management easier. Related PR https://github.com/VictoriaMetrics/VictoriaMetrics/pull/10729/