Skip to content

Use Cortex compactor for Thanos receive/store #7049

@yuchen-db

Description

@yuchen-db

Is your feature request related to a problem? Please describe.
I have a Thanos stack and face compactor scalability issue for large tenants. I'm considering to replace Thanos compactor with Cortex compactor to leverage its better scalability, as multiple Cortex compactors can be configuerd to work on one tenant. We are exploring the feasibility to mix Cortex compactor with Thanos receive/store.

Describe the solution you'd like
Cortex and Thanos compactor can be used interchangeably.

Describe alternatives you've considered
We have more than 50 Thanos compactor pods in a large cluster, and some of them have more than 200k TODO blocks. We have been manually splitting large tenant to workaround the scalability issue with Thanos compactor, but that's very operational heavy.

Image

Additional context
Each of our Thanos ingester has 3 replications. Our compactor vertically deduplicates replicated blocks, and horizontally merge blocks to longer time range. We disable downsampling. We are running at a scale where single tenant often has too many time series that can't be handled by a single compactor.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions