Heroic
discontinuedby Spotify · since 2015
Spotify's time-series database on Bigtable or Cassandra plus Elasticsearch; deprecated in 2021.
discontinued. Spotify deprecated Heroic in March 2021 (final release 2.3.18) and archived the repository. Use Mimir, VictoriaMetrics or M3.
Overview
Heroic is the time-series database Spotify built for its internal monitoring. It stores metric samples in Google Cloud Bigtable or Apache Cassandra and keeps series metadata and tags in Elasticsearch, which powers tag-based lookups and suggestions; a Java service on top offers an HTTP API, its own query language with aggregations, and federation that fans queries out across clusters in several regions. Spotify open-sourced it in 2015 and published a deprecation notice in March 2021 with the final 2.3.18 release, saying it would no longer improve or release Heroic; the repository is archived. It remains a readable example of separating metric storage from metadata indexing, but new deployments should use Prometheus-compatible systems.
Strengths & trade-offs
Strengths
- +Separates sample storage (Bigtable/Cassandra) from tag indexing (Elasticsearch)
- +Cross-region federation of queries
- +Battle-tested on Spotify's monitoring workload
Trade-offs
- −Deprecated and archived; no security fixes
- −Requires running Bigtable or Cassandra plus Elasticsearch
- −Not compatible with PromQL or the Prometheus ecosystem
Great for
- +Studying large-scale metrics architecture
- +Maintaining existing Heroic deployments during migration
Think twice for
- −New monitoring stacks
- −Small teams without Cassandra or Elasticsearch expertise
Capabilities
Native or official first-party support · 3 of 25 tracked
Scale & consistency
- Comfortable data size
- Large · ≤ 1 PB
- Horizontal scaling
- Native
- Multi-region
- No
- Transactions
- None
- Consistency
- Eventual
- Schema
- Schemaless
- Architecture
- Distributed
- Query languages
- Heroic Query Language
Storage scales with the Bigtable or Cassandra backend; federation fans queries out to independent regional clusters.
Deployment
Ecosystem
Alternatives to Heroic
Grafana Labs' horizontally scalable, multi-tenant long-term store for Prometheus and OTLP metrics.
heroic vs grafana-mimir →Resource-frugal, Prometheus-compatible metrics database, run as a single binary or a sharded cluster.
heroic vs victoriametrics →Uber-born distributed TSDB and aggregator for Prometheus-scale metrics with tunable replication.
heroic vs m3db →CNCF-graduated pull-based monitoring system with a local TSDB, PromQL and alerting rules.
heroic vs prometheus →HBase-backed time-series database from the Hadoop era; still in service, rarely chosen for new work.
heroic vs opentsdb →Label-indexed log aggregation: Prometheus-style streams, chunks on object storage, LogQL queries.
heroic vs grafana-loki →Heroic FAQ
What is Heroic?
Heroic is a time-series database by Spotify, first released in 2015. Heroic is the time-series database Spotify built for its internal monitoring. It stores metric samples in Google Cloud Bigtable or Apache Cassandra and keeps series metadata and tags in Elasticsearch, which powers tag-based lookups and suggestions; a Java service on top offers an HTTP API, its own query language with aggregations, and federation that fans queries out across clusters in several regions. Spotify open-sourced it in 2015 and published a deprecation notice in March 2021 with the final 2.3.18 release, saying it would no longer improve or release Heroic; the repository is archived. It remains a readable example of separating metric storage from metadata indexing, but new deployments should use Prometheus-compatible systems.
Is Heroic open source?
Yes. Heroic is open source. License: Apache License 2.0.
Does Heroic support ACID transactions?
No. Heroic does not provide ACID transactions; its consistency model is eventual.
Does Heroic scale horizontally?
Heroic scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at large scale (≤ 1 PB).
How can I run Heroic?
You can self-host it.
What is Heroic best for?
Heroic is a strong fit for studying large-scale metrics architecture and maintaining existing Heroic deployments during migration. Think twice for new monitoring stacks.
What are the best alternatives to Heroic?
Common alternatives to Heroic include Grafana Mimir, VictoriaMetrics, M3DB, Prometheus and OpenTSDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is Heroic still maintained?
Heroic is discontinued. Spotify deprecated Heroic in March 2021 (final release 2.3.18) and archived the repository. Use Mimir, VictoriaMetrics or M3.
How popular is Heroic?
Heroic ranks #521 of 844 databases on the WhichDB Score (1.7/100), and #34 among time-series databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.

