How to Create a Cluster in Redis
HTML-код
- Опубликовано: 9 сен 2024
- Ever wanted to set up your own clustered database from the command-line but never had the time nor patience? Join Justin as he sets up an 8-node Redis cluster in no time!
▬ Links ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Creating a Cluster in Redis Step-By-Step Instructions → bit.ly/3mgF7R9
Check out RU301: Running Redis at Scale → university.red...
Redis University → university.red...
Redis, Inc. → www.redis.com/
Join our discord server → / discord
Thanks. Looks pretty cool to set up a cluster. 👍
HEY JUSTIN OMG I LOVE THIS VIDEO - Frida
Very useful
Hi Justin can you share how I can start a cluster using dockEr compose
Great thanks, could you please share whether we can do cluster on different servers and if yes, share few insights
I have setup cluster using this approach,
When trying to connect via redis_insight,
1- The redis_insight connects via service name of docker-compose,
2- The redis cluster issues move command to another node (host and port, eg 127.0.0.1:7003) which is not accessible to services outside of this container.
what a great video, thanks.
Our pleasure!
Hello, could you please tell which version of redis-cli are you using? Because in my system it is throwing error :- 'Unrecognized option or bad number of args for: '--cluster'
'. Could you please help me
how i can do this with docker compose? i created the files with sh, but when i try to log in from nodejs with redis.cluster, it doesn't send an error but is not setting or getting nothing, if connect without .cluster to only one instance it works perfectly
Hey guys, Is there any reference on how to create a Redis cluster with docker compose? because all I can get so far is only running locally
hi, in the "redis.conf" file there is a cluster-config-file propertey with node.conf that I cant find anywhere or get any information about
Would like to know where can I see example of it
Do you have any resources about putting all this behind a nginx load balancer?
Makasih mas botak, ini sangat membantu.
Thanks, Good explanation. Is there any load balance solution?
Thanks! This doc may help: docs.redis.com/latest/rs/networking/cluster-lba-setup/ - Justin
Could you please do it also for the docker swarm?
And now how I connect to that cluster for example in python?
My host and port would be anyone?
The answer was any master node, jeje. Thank you for your tutorial, It help me a lot in my work
Hi sir i have a question how to come out from server while running in cluster mode in video 5:08 min pls give the short cut key
I believe I opened a new tab in that instance with (Command+t). If you want to stop the server, press (Control+c)
@@Redisincvery very massive Thank you for your immediate response Justin and team this is very helpful for me and everyone who just start the learning redis.
Hi Just, which instance is 172.0.0.1 referring to? Is that 1 random out of the 8 configured instances?
I don't see where there was 172.0.0.1. Maybe Justin mistyped somewhere, but it should be 127.0.0.1 which is "localhost", so justins machine