I’m currently using InfluxDB OSS 2 and plan to migrate to version 3 in the future.
My scenario:
- I have around 100 customers, each with 100 measurements - Additionally, we expect to add up to 100 new customers annually.
- Data is written to InfluxDB every 10 seconds.
- Customers can retrieve only their own measurements via our REST API.
Currently, a retention policy of one month is sufficient for our needs. However, I'm unsure about the future needs of the customers. For example, if a customer wants to keep their data for a year or longer, the data retention requirements may change.
A single InfluxDB 2.7 OSS instance supports approximately 20 buckets actively being written to or queried across all anizations depending on the use case. Any more than that can adversely affect performance.
Create a bucket - Bucket limits
Now, I’m wondering: Should I use a single bucket for all customers or create a separate bucket for each customer?