langchain/docs/extras/modules
sseide 25e3d3f283
Support Redis Sentinel database connections (#5196)
# Support Redis Sentinel database connections

This PR adds the support to connect not only to Redis standalone servers
but High Availability Replication sets too
(https://redis.io/docs/management/sentinel/)
Redis Replica Sets have on Master allowing to write data and 2+ replicas
with read-only access to the data. The additional Redis Sentinel
instances monitor all server and reconfigure the RW-Master on the fly if
it comes unavailable.

Therefore all connections must be made through the Sentinels the query
the current master for a read-write connection. This PR adds basic
support to also allow a redis connection url specifying a Sentinel as
Redis connection.

Redis documentation and Jupyter notebook with Redis examples are updated
to mention how to connect to a redis Replica Set with Sentinels

        - 

Remark - i did not found test cases for Redis server connections to add
new cases here. Therefor i tests the new utility class locally with
different kind of setups to make sure different connection urls are
working as expected. But no test case here as part of this PR.
2023-07-17 07:18:51 -07:00
..
agents Add Xorbits agent (#7647) 2023-07-17 07:09:51 -07:00
callbacks Fix make docs_build and related scripts (#7276) 2023-07-11 22:05:14 -04:00
chains update docs (#7714) 2023-07-14 11:49:09 -04:00
data_connection Support Redis Sentinel database connections (#5196) 2023-07-17 07:18:51 -07:00
memory Fix make docs_build and related scripts (#7276) 2023-07-11 22:05:14 -04:00
model_io add missing import (#7730) 2023-07-14 20:03:23 -04:00
paul_graham_essay.txt codespell: workflow, config + some (quite a few) typos fixed (#6785) 2023-07-12 16:20:08 -04:00
state_of_the_union.txt Doc refactor (#6300) 2023-06-16 11:52:56 -07:00