Skip to content

Commit

Permalink
Merge pull request #5927 from nick-ivanov-edb/patch-12
Browse files Browse the repository at this point in the history
Fix typos in readonly.mdx
  • Loading branch information
djw-m authored Aug 8, 2024
2 parents 18e1b42 + a85ff9e commit 891df84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions product_docs/docs/pgd/5/routing/readonly.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ navTitle: Read-only routing

By default, PGD Proxy routes connections to the currently selected write leader in the cluster. This allows the write traffic conflicts to be rapidly and consistently resolved. Just routing everything to a single node, the write leader, is a natural fit for traditional high availability deployments where system throughput is typically limited to the throughput of what a single node can handle.

But for some use cases, this behavior also means that clients that are only querying the data are also placing a load on the current write leader. It's possible this writer leader could be equally well served by one of the non-write leader nodes in the cluster.
But for some use cases, this behavior also means that clients that are only querying the data are also placing a load on the current write leader. It's possible this read-only workload could be equally well served by one of the non-write leader nodes in the cluster.

If you could move traffic that was read-only queries to the non-write leader nodes, you could, at least in theory, handle a throughput which could be a multiple of a single nodes capability.
If you could move traffic that has read-only queries to the non-write leader nodes, you could, at least in theory, handle a throughput which could be a multiple of a single nodes capability.
An approach like this would, though, usually require changes to applications so that they were aware of details of cluster topology and the current node status to detect the write leader.

## Read-only routing in PGD Proxy
Expand Down

1 comment on commit 891df84

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.