Tag pruning limits #1652
-
From your documentation:
Does that mean that we can only have 1000 tenants? I was thinking about using the tenant ID as a tag... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @collimarco, the tag works if you don't have too many tenants indeed. There are different use cases for multitenancy (example: a few very big tenants, many many very small ones) and the right solution for each one is not always obvious. How many tenants do you have? |
Beta Was this translation helpful? Give feedback.
-
@collimarco You can have one index with a lot of tenants. If you do you will have to pool your tenants into different sources. For instance, upstream you could route you tenants data into different kafka topics. This sharding is more dynamic than regular sharding. Unfortunately one piece of the puzzle is missing to let you operate such a system. This is not a big change, so if you have an important multitenant use case, we are happy to discuss it with you. Quickwit also have other solutions to make this work. Some of them not shipped yet (supporting many indexes efficiently - i'm working on it right now), and some of them are shipped but undocumented (demux). |
Beta Was this translation helpful? Give feedback.
@collimarco You can have one index with a lot of tenants. If you do you will have to pool your tenants into different sources.
For instance, upstream you could route you tenants data into different kafka topics.
This sharding is more dynamic than regular sharding.
Upstream it is perfectly fine for you to move one tenant from one shard (for instance because it got bigger).
It will not impact anything in quickwit's operations.
Unfortunately one piece of the puzzle is missing to let you operate such a system.
With such a system, you need to make sure that Quickwit does not merge spltis coming from different sources,
and Quickwit 0.3 does not offer any knobs for you to configure split merges.
T…