You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Router can be scaled both [vertically](#vertical-scaling) and
466
+
The [Router](/influxdb3/clustered/reference/internals/storage-engine/#router) can be scaled both [vertically](#vertical-scaling) and
472
467
[horizontally](#horizontal-scaling).
473
-
Horizontal scaling increases write throughput and is typically the most
468
+
469
+
- **Recommended**: Horizontal scaling increases write throughput and is typically the most
474
470
effective scaling strategy for the Router.
475
-
Vertical scaling (specifically increased CPU) improves the Router's ability to
471
+
- Vertical scaling (specifically increased CPU) improves the Router's ability to
476
472
parse incoming line protocol with lower latency.
477
473
474
+
#### Router latency
475
+
476
+
Latency of the Router’s write endpoint is directly impacted by:
477
+
478
+
- Ingester latency--the router calls the Ingester during a client write request
479
+
- Catalog latency during schema validation
480
+
478
481
### Ingester
479
482
480
-
The Ingester can be scaled both [vertically](#vertical-scaling) and
483
+
The [Ingester](/influxdb3/clustered/reference/internals/storage-engine/#ingester) can be scaled both [vertically](#vertical-scaling) and
481
484
[horizontally](#horizontal-scaling).
482
-
Vertical scaling increases write throughput and is typically the most effective
483
-
scaling strategy for the Ingester.
485
+
486
+
- **Recommended**: Vertical scaling is typically the most effective scaling strategy for the Ingester.
487
+
Compared to horizontal scaling, vertical scaling not only increases write throughput but also lessens query, catalog, and compaction overheads as well as Object store costs.
488
+
- Horizontal scaling can help distribute write load but comes with additional coordination overhead.
484
489
485
490
#### Ingester storage volume
486
491
@@ -543,37 +548,62 @@ ingesterStorage:
543
548
544
549
### Querier
545
550
546
-
The Querier can be scaled both [vertically](#vertical-scaling) and
551
+
The [Querier](/influxdb3/clustered/reference/internals/storage-engine/#querier) can be scaled both [vertically](#vertical-scaling) and
547
552
[horizontally](#horizontal-scaling).
548
-
Horizontal scaling increases query throughput to handle more concurrent queries.
549
-
Vertical scaling improves the Querier’s ability to process computationally
550
-
intensive queries.
553
+
554
+
- **Recommended**: [Vertical scaling](#vertical-scaling) improves the Querier's ability to process concurrent or computationally
555
+
intensive queries, and increases the effective cache capacity.
556
+
- Horizontal scaling increases query throughput to handle more concurrent queries.
557
+
Consider horizontal scaling if vertical scaling doesn't adequately address
558
+
concurrency demands or reaches the hardware limits of your underlying nodes.
551
559
552
560
### Compactor
553
561
554
-
The Compactor can be scaled both [vertically](#vertical-scaling) and
555
-
[horizontally](#horizontal-scaling).
556
-
Because compaction is a compute-heavy process, vertical scaling (especially
557
-
increasing the available CPU) is the most effective scaling strategy for the
558
-
Compactor. Horizontal scaling increases compaction throughput, but not as
562
+
- **Recommended**: Maintain **1 Compactor pod** and use [vertical scaling](#vertical-scaling) (especially
563
+
increasing the available CPU) for the Compactor.
564
+
- Because compaction is a compute-heavy process, horizontal scaling increases compaction throughput, but not as
559
565
efficiently as vertical scaling.
560
566
561
567
### Garbage collector
562
568
563
-
The Garbage collector can be scaled [vertically](#vertical-scaling). It is a
564
-
light-weight process that typically doesn't require many system resources, but
565
-
if you begin to see high resource consumption on the garbage collector, you can
566
-
scale it vertically to address the added workload.
569
+
The [Garbage collector](/influxdb3/clustered/reference/internals/storage-engine/#garbage-collector) is a lightweight process that typically doesn't require
570
+
significant system resources.
571
+
572
+
- Don't horizontally scale the Garbage collector; it isn't designed for distributed load.
573
+
- Consider [vertical scaling](#vertical-scaling) only if you observe consistently high CPU usage or if the container
574
+
regularly runs out of memory.
575
+
576
+
### Catalog store
567
577
568
-
### Catalog
578
+
The [Catalog store](/influxdb3/clustered/reference/internals/storage-engine/#catalog-store) is a PostgreSQL-compatible database that stores critical metadata for your InfluxDB cluster.
579
+
An underprovisioned Catalog store can cause write outages and system-wide performance issues.
569
580
570
-
Scaling strategies available for the Catalog depend on the PostgreSQL-compatible
571
-
database used to run the catalog. All support [vertical scaling](#vertical-scaling).
572
-
Most support [horizontal scaling](#horizontal-scaling) for redundancy and failover.
581
+
- Scaling strategies depend on your specific PostgreSQL implementation
582
+
- All PostgreSQL implementations support [vertical scaling](#vertical-scaling)
583
+
- Most implementations support [horizontal scaling](#horizontal-scaling) for improved redundancy and failover
584
+
585
+
586
+
### Catalog service
587
+
588
+
The [Catalog service](/influxdb3/clustered/reference/internals/storage-engine/#catalog-service) (iox-shared-catalog statefulset) caches
589
+
and manages access to the Catalog store.
590
+
591
+
- **Recommended**: Maintain **exactly 3 replicas** of the Catalog service for optimal redundancy. Additional replicas are discouraged.
592
+
- If performance improvements are needed, use [vertical scaling](#vertical-scaling).
593
+
594
+
> [!Note]
595
+
> #### Managing Catalog components
596
+
>
597
+
> The [Catalog service](/influxdb3/clustered/reference/internals/storage-engine/#catalog-service) is managed through the
598
+
> `AppInstance` resource, while the [Catalog store](/influxdb3/clustered/reference/internals/storage-engine/#catalog-store)
599
+
> is managed separately according to your PostgreSQL implementation.
573
600
574
601
### Object store
575
602
576
-
Scaling strategies available for the Object store depend on the underlying
577
-
object storage services used to run the object store. Most support
603
+
The [Object store](/influxdb3/clustered/reference/internals/storage-engine/#object-store)
604
+
contains time series data in Parquet format.
605
+
606
+
Scaling strategies depend on the underlying object storage services used.
607
+
Most services support
578
608
[horizontal scaling](#horizontal-scaling) for redundancy, failover, and
Copy file name to clipboardExpand all lines: content/influxdb3/clustered/install/_index.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -62,13 +62,13 @@ Updating your InfluxDB cluster is as simple as re-applying your app-instance wit
62
62
63
63
The word safely here means being able to redeploy your cluster while still being able to use the tokens you’ve created, and being able to write/query to the database you’ve previously created.
64
64
65
-
All of the important state in InfluxDB 3 lives in the Catalog (the Postgres equivalent database) and the Object Store (the S3 compatible store). These should be treated with the utmost care.
65
+
All of the important state in InfluxDB 3 lives in the Catalog store (the Postgres equivalent database) and the Object Store (the S3 compatible store). These should be treated with the utmost care.
66
66
67
-
If a full redeploy of your cluster needs to happen, the namespace containing the Influxdb instance can be deleted **_as long as your Catalog and Object Store are not in this namespace_**. Then, the influxdb AppInstance can be redeployed. It is possible the operator may need to be removed and reinstalled. In that case, deleting the namespace that the operator is deployed into and redeploying is acceptable.
67
+
If a full redeploy of your cluster needs to happen, the namespace containing the Influxdb instance can be deleted **_as long as your Catalog store and Object Store are not in this namespace_**. Then, the influxdb AppInstance can be redeployed. It is possible the operator may need to be removed and reinstalled. In that case, deleting the namespace that the operator is deployed into and redeploying is acceptable.
68
68
69
69
### Backing up your data
70
70
71
-
The Catalog and Object store contain all of the important state for InfluxDB 3. They should be the primary focus of backups. Following the industry standard best practices for your chosen Catalog implementation and Object Store implementation should provide sufficient backups. In our Cloud products, we do daily backups of our Catalog, in addition to automatic snapshots, and we preserve our Object Store files for 100 days after they have been soft-deleted.
71
+
The Catalog store and Object store contain all of the important state for InfluxDB 3. They should be the primary focus of backups. Following the industry standard best practices for your chosen Catalog store implementation and Object Store implementation should provide sufficient backups. In our Cloud products, we do daily backups of our Catalog, in addition to automatic snapshots, and we preserve our Object Store files for 100 days after they have been soft-deleted.
0 commit comments