hn.today

30xLower Memory, 35xFaster Relabeling: Prometheus.rs isn't just another rewrite

prometheus.io4 points0 comments
Screenshot of 30xLower Memory, 35xFaster Relabeling: Prometheus.rs isn't just another rewrite

Prometheus maintainers approved an experiment called Distributed Prometheus.rs, a horizontally scalable Rust-based system - not a plan to rewrite or replace the established Go Prometheus. The proposal responds to growing scale and fragmentation among systems such as Thanos, Cortex, and Mimir, whose teams have built overlapping storage, ingestion, and query components. It also aims to draw on Rust’s columnar-data ecosystem, including Arrow, DataFusion, Parquet, and Vortex. Early prototypes report roughly 30 times less collector memory, 35.8 times faster vectorized relabeling, and PromQL range queries 4.8 to 24 times faster in tested workloads. The design starts with small, independently reusable crates that can support both a lean single-node server and optional distributed components, allowing gradual adoption rather than a wholesale migration.

The proposal puts single-node Prometheus first, with safeguards including one-way dependencies, a separate lightweight binary, performance monitoring, distinct maintainer responsibilities, and interface and upgrade tests. For current users, Go Prometheus continues unchanged, with no deprecation timeline; the Rust project remains experimental, with no decision yet about moving it into the main organization. Thanos and Cortex remain independent projects, and the proposal makes no commitments about Mimir. Before Rust components can become stable, they must demonstrate performance and compatibility across PromQL, OpenMetrics, Remote Write, OTLP, and HTTP APIs. Work is underway on Rust scraping and PromQL crates, alongside exploration of reading existing Prometheus data formats.

Read on prometheus.io0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Laravel Go

Laravel Go

Laravel for Go is a full-stack web framework with routing, validation, database tools, background jobs, workflows, and real-time events. It also supports Inertia for frontend integration and is open source under the MIT license. (github.com)

Laravel Go

Laravel Go

Laravel Go is a batteries-included Go framework that combines routing, data access, authentication, queues, workflows, and other features in one package. It uses standard Go patterns and Inertia to serve React, Vue, or Svelte pages without separate API boilerplate. (laravel.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.