Company
Date Published
Author
Peter Štibraný
Word count
1747
Language
English
Hacker News points
None

Summary

Grafana Labs, after ceasing contributions to Cortex, has introduced Grafana Mimir, a scalable open-source storage solution for Prometheus. In Cortex and Loki, the ring is a vital component stored in a key-value store like Consul or etcd, used for sharding series and logs among ingesters. However, traditional storage methods face issues with update conflicts and resource consumption. To address these, Grafana Labs has implemented the gossip protocol using the Memberlist library to propagate the ring data, avoiding the need for a central key-value store. This approach reduces network communication, enables frequent timestamp updates without increasing message frequency, and allows more efficient handling of state information. Despite minor discrepancies in the ring's state across nodes due to continuous updates, the gossip protocol provides sufficient reliability for system operations. The adoption of gossip in Cortex and Loki has shown promising improvements in performance and resource utilization, encouraging users to explore this new method and provide feedback.