Hacker News new | ask | show | jobs
by sriv1211 1545 days 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?

1 comments

Good 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/archit...