From 45dd588d8fe6ae1156bc9d38fefaa7dd9fe45ae3 Mon Sep 17 00:00:00 2001 From: JordanRushing Date: Thu, 5 May 2022 15:59:45 -0500 Subject: [PATCH] Update consistent hash ring docs with new index gateway ring (#6041) * Update consistent hash ring docs with new index gateway ring Signed-off-by: JordanRushing * Update docs/sources/fundamentals/architecture/rings.md Co-authored-by: Karen Miller <84039272+KMiller-Grafana@users.noreply.github.com> Co-authored-by: Karen Miller <84039272+KMiller-Grafana@users.noreply.github.com> --- docs/sources/fundamentals/architecture/rings.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/sources/fundamentals/architecture/rings.md b/docs/sources/fundamentals/architecture/rings.md index 33b2865c0d..aa8d89fba8 100644 --- a/docs/sources/fundamentals/architecture/rings.md +++ b/docs/sources/fundamentals/architecture/rings.md @@ -8,11 +8,11 @@ weight: 40 are incorporated into Loki cluster architectures to - aid in the sharding of log lines -- implement high availability +- implement high availability - ease the horizontal scale up and scale down of clusters. There is less of a performance hit for operations that must rebalance data. -Hash rings connect instances of a single type of component when +Hash rings connect instances of a single type of component when - there are a set of Loki instances in monolithic deployment mode - there are multiple read components or multiple write components in @@ -28,6 +28,9 @@ These components need to be connected into a hash ring: - compactors - rulers +These components can optionally be connected into a hash ring: +- index gateway + In an architecture that has three distributors and three ingestors defined, the hash rings for these components connect the instances of same-type components. @@ -91,3 +94,7 @@ despite the compactor target being on multiple instances. ## About the ruler ring The ruler ring is used to determine which rulers evaluate which rule groups. + +## About the index gateway ring + +The index gateway ring is used to determine which gateway is responsible for which tenant's indexes when queried by rulers or queriers.