mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-11 10:46:25 +03:00
docs: clarify we don't load balance across read replicas
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10800 GitOrigin-RevId: 39da1b7d7de924a19b0671a5e03c70ccd95ab57b
This commit is contained in:
parent
aa109ba331
commit
516cbd59e8
@ -26,7 +26,7 @@ import ProductBadge from '@site/src/components/ProductBadge';
|
||||
|
||||
## Introduction
|
||||
|
||||
Hasura Cloud and Hasura Enterprise can load balance queries and subscriptions across _read replicas_ while sending all
|
||||
Hasura Cloud and Hasura Enterprise can route queries and subscriptions across _read replicas_ while sending all
|
||||
mutations and Metadata API calls to the primary.
|
||||
|
||||
## Adding read replica URLs
|
||||
|
@ -70,8 +70,9 @@ connections of the Postgres instance.
|
||||
|
||||
#### `HASURA_GRAPHQL_CONNECTIONS_PER_READ_REPLICA`
|
||||
|
||||
With Read replicas, Hasura can load balance multiple databases. However, you will need to balance connections between
|
||||
database nodes too:
|
||||
With Read replicas, Hasura can route queries and subscriptions to multiple
|
||||
databases. However, you will need to balance connections between database nodes
|
||||
too:
|
||||
|
||||
- Master connections (`HASURA_GRAPHQL_PG_CONNECTIONS`) are now used for writing only. You can decrease max connections
|
||||
lower if Hasura doesn't write much, or share connections with other Hasura nodes.
|
||||
|
@ -107,7 +107,7 @@ import Enterprise from '@site/static/icons/features/enterprise.svg';
|
||||
<div className="card">
|
||||
<h3>Read Replicas</h3>
|
||||
<p>
|
||||
Learn how to configure read replicas in Hasura Enterprise Edition to load balance your database queries and subscriptions.
|
||||
Learn how to configure read replicas in Hasura Enterprise Edition to distribute your database queries and subscriptions across multiple replica instances.
|
||||
</p>
|
||||
</div>
|
||||
</VersionedLink>
|
||||
|
@ -251,7 +251,7 @@ This compiler-based approach allows Hasura to form a single SQL query for a Grap
|
||||
|
||||
Hasura Cloud lets you scale your applications automatically without having to think about the number of instances,
|
||||
cores, memory, thresholds etc. You can keep increasing your number of concurrent users and the number of API calls and
|
||||
Hasura Cloud will figure out the optimizations auto-magically. Hasura Cloud can load balance queries and subscriptions
|
||||
Hasura Cloud will figure out the optimizations auto-magically. Hasura Cloud can route queries and subscriptions
|
||||
across read replicas while sending all mutations and Metadata API calls to the master. Learn more about Horizontal
|
||||
scaling with Hasura, [here.](https://hasura.io/learn/graphql/hasura-advanced/performance/2-horizontal-scaling/)
|
||||
Additionally, Hasura Community Edition can be scaled horizontally by adding more Hasura instances to your deployment.
|
||||
|
Loading…
Reference in New Issue
Block a user