Back to feed
Dev.to
Dev.to
7/7/2026
We Rewrote VictoriaMetrics in Rust. It Now Beats the Original on Every Benchmark Metric

We Rewrote VictoriaMetrics in Rust. It Now Beats the Original on Every Benchmark Metric

Short summary

EsMetrics, a new Apache 2.0 Rust rewrite of VictoriaMetrics single-node, outperforms the original Go implementation across all TSBS benchmarks—43-66% faster ingestion throughput and 11-82% lower query latency. The project prioritizes byte-identical correctness against the Go server, using a replay harness to catch semantic bugs. Major optimizations include parallel unpacking with per-worker scratch buffers, decoded-block caching, zero-copy ingestion, and platform-specific fixes like MiMalloc on Windows to avoid global heap lock serialization.

  • EsMetrics (Rust) beats Go VictoriaMetrics on all benchmarks: 43-66% faster ingestion, 11-82% lower latency
  • Byte-identical correctness enforced through replay harness, catching real semantic bugs in equivalence testing
  • Key optimizations: parallel unpacking, block caching, zero-copy ingestion, Windows allocator tuning (MiMalloc)

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more