mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +01:00
7ed7eb95b4
Measuring read / write duration from / to in-memory buffers has little sense,
since it will be always fast. It is better to measure read / write duration from / to
real files at vm_filestream_write_duration_seconds_total and vm_filestream_read_duration_seconds_total metrics.
This also reduces overhead on time.Now() and Histogram.UpdateDuration() calls
per each filestream.Reader.Read() and filestream.Writer.Write() call when the data is read / written from / to in-memory buffers.
This is a follow-up for
|
||
---|---|---|
.. | ||
filestream_darwin.go | ||
filestream_freebsd.go | ||
filestream_linux.go | ||
filestream_openbsd.go | ||
filestream_solaris.go | ||
filestream_test.go | ||
filestream_windows.go | ||
filestream.go |