4 ms·
What's the latency between sending a metric and being able to query it when using object storage (s3) instead of block storage? How do the transfer/retrieval (
by sriv1211 5y ago
What's the latency between sending a metric and being able to query it when using object storage (s3) instead of block storage?
How do the transfer/retrieval (GET/PUT) costs factor in as well?
- pracucci 5y agoGood question! Grafana Mimir guarantees read-after-write. If a write request succeed, the metric samples you've written are guaranteed to be queried by any subsequent query. Mimir employes write deamplification: it doesn't write immediately to the object storage but keeps most recently written data in-memory and/or local disk. Mimir also employes several shared caches (supports Memcached) to reduce object storage (S3) access as much as possible. You can learn more here in the Mimir architecture documentation: https://grafana.com/docs/mimir/latest/operators-guide/architecture/about-grafana-mimir-architecture/ https://grafana.com/docs/mimir/latest/operators-guide/archit...