0

Can we configure two different host for read and write operations in latest redis client version 4.6.5.

I was tried to configure the different redis server host read and write inside the createClient method but could't do that. Is there any other way to achieve this? redis.createClient()

1 Answer 1

0

No, there isn't. You can create two clients - 1 for each hostname

The closest thing would be https://github.com/redis/node-redis/blob/master/docs/clustering.md

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.