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
Redis Cluster connections can utilize up to twice the number of the number of master nodes during operations. This is because Redis Cluster connections use separate read connections with READONLY set. This happens for replica and master connections.
We should be able to optimize if master-only operations are used, if ReadFrom.MASTER is set. In this case, we can assume that write connections are safe to use for reading operations and we can skip connection creation.
The text was updated successfully, but these errors were encountered:
…ASTER #923
Lettuce now reuses master connections when ReadFrom is configured to MASTER (which is the default configuration). By reusing the master connection, we can reduce the number of used connections by up to 50% as we don't need an additional read connection while talking to the same node.
…ASTER #923
Lettuce now reuses master connections when ReadFrom is configured to MASTER (which is the default configuration). By reusing the master connection, we can reduce the number of used connections by up to 50% as we don't need an additional read connection while talking to the same node.
Redis Cluster connections can utilize up to twice the number of the number of master nodes during operations. This is because Redis Cluster connections use separate read connections with
READONLY
set. This happens for replica and master connections.We should be able to optimize if master-only operations are used, if
ReadFrom.MASTER
is set. In this case, we can assume that write connections are safe to use for reading operations and we can skip connection creation.The text was updated successfully, but these errors were encountered: