Oct 29, 2019
Aiven to release M3 as a service
Aiven Blog: Aiven is among the first to offer M3 time-series as a hosted, managed service | Read more about M3 and its benefits.

John Hammink
|RSS FeedDeveloper Advocate at Aiven

UPDATE: Aiven for M3 is here!
Aiven is working on releasing M3 as a managed, distributed, time-series database-as-a-service.
The first M3 service release, as a beta launch, will contain basic time-series features and functionality, with advanced functionality like cross-cluster replication support to be added incrementally.
Background
With the explosion of time-series applications coinciding with the rise of Iot, it was only a matter of time when a single-threaded model for query processing could no longer massively expand: to operationalize the datasets of companies like Uber, it was necessary to handle up to 45 trillion metrics per day at 2500 queries per second.
Scalable, multi-threaded processing was needed even when the datastores themselves could already be distributed.
This prompted Uber to invent M3 to handle their internal workload. As many of their teams were already using Prometheus, they needed a solution that was compatible with existing dashboards. Highly-available from the get-go, clearly designed for scalability, and featuring efficient Gorilla compression, M3’s creators started with a few guiding principles:
- Improved reliability and scalability;
- Cross-data-center queries;
- Low latency SLA;
- Tagged metrics as first-class citizens: supports Prometheus’ (and others’) labels.
To accomplish this, let’s have a quick look at how M3 is built.
Architecture
M3 consists of many different kinds of nodes which form a pluggable architecture. The M3 design has multiple components but here are the most important ones:
-
M3DB: the core storage model. A distributed-by-node time-series database. M3DB, built in Go language, comes with extensible, scalable storage and reverse-index time-series.
-
M3 Aggregator: a metrics-aggregator service, providing stream-based downsampling, built on etcd. Data can be aggregated based on defined criteria.
-
M3 Coordinator: a service coordinating reads and writes between systems and maintaining cluster consensus. These can accept multiple formats (e.g. Prometheus, collectd, fluentd and many more).
M3 integrates out of the box with Prometheus, Graphite, and Grafana for metrics and data visualization.
So how is M3 used?
Uses
M3 is the next evolutionary step in time-series databases; just imagine it faster, more reliable and scalable than previous time-series solutions. M3 can be used for almost all alerting and monitoring use-cases. In addition, M3 has been commonly used for tracking business metrics, monitoring network fabric bandwidth, tracking service latency across hundreds of microservices, capacity planning for clusters, and load balancing, to name a few.
Wrapping up
With M3 time series, you’ll have a scalably faster and more reliable solution for your data. We’ll be adding M3 as a service very soon, so remember to follow our blog or changelog RSS feeds; or, follow us on Twitter or LinkedIn to stay up to date.
Related blogs
Jul 21, 2021
A developer's first look at M3
M3 is a distributed time series database, ideal for storing the data points from modern applications. Read Lorna Mitchell's first impressions and ideas.
Lorna
Jun 24, 2020
Aiven now offers Apache Kafka MirrorMaker® 2.0 as a service
We now do MirrorMaker! And it's great.
John
Sep 7, 2022
Redis® 7 is here
The best Redis® ever - version 7.0 - is now available on the Aiven platform.
Hoang
Subscribe to the Aiven newsletter
All things open source, plus our product updates and news in a monthly newsletter.