Add example script showing how to connect to a Redis open source cluster.
See original GitHub issueAdd an example script that shows how to connect to a Redis open source cluster. Your example can be based on the “Basic Example” code here: https://github.com/redis/node-redis/blob/master/docs/clustering.md
Name your file connect-to-cluster.js
. Pay attention to the guidelines for adding an example to ensure that your contribution can be merged.
This is part of our participation in Hacktoberfest 2022. Learn how to complete this issue here: https://redis.io/community/hacktoberfest/
Need help or want to talk to us? Join us on Discord where we have a dedicated Hacktoberfest channel: https://discord.gg/ueQwKUh5Z3
If you’re interested in taking this issue on, please mention @simonprickett and @SuzeShardlow in the comments and ask to be assigned.
Issue Analytics
- State:
- Created a year ago
- Comments:16 (12 by maintainers)
Top Results From Across the Web
Scaling with Redis Cluster
Create a Redis Cluster; Interact with the cluster; Write an example app with redis-rb-cluster; Reshard the cluster; A more interesting example application; Test ......
Read more >How To Connect to a Redis Database - DigitalOcean
Redis is an open-source, in-memory key-value data store. ... In this tutorial, you will learn how to connect to Redis from the command...
Read more >Creating a Redis Cluster - Vishal Khare
Every Redis Cluster node requires two TCP connections open. The normal Redis TCP port used to serve clients, for example 6379, plus the...
Read more >Set up a Redis Cluster for Production environments
Follow these steps for each server node in the Redis Cluster: Connect to the server using SSH with an account with super-user privileges....
Read more >Connecting to cluster example #2298 - redis/node-redis - GitHub
Adding an example to connect to an open source Redis cluster. This issue is described in detail in : #2281 (comment)
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
#2298 I have made the PR, kindly review it.
Hi @varadkarpe, you can’t push to our repo (as you’ve discovered) - you will have to fork the repo and make your changes there. Then push to your fork and open a PR against our repo.
Have a look at these instructions:
https://docs.github.com/en/get-started/quickstart/fork-a-repo
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork