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

Комментарии • 24

  • @vipinreyaroth
    @vipinreyaroth 2 года назад +3

    Thanks. Looks pretty cool to set up a cluster. 👍

  • @FatimaZahraElFilali
    @FatimaZahraElFilali 2 года назад +2

    HEY JUSTIN OMG I LOVE THIS VIDEO - Frida

  • @ChrisAthanas
    @ChrisAthanas Год назад +1

    Very useful

  • @arunabhsingh5448
    @arunabhsingh5448 11 месяцев назад +1

    Hi Justin can you share how I can start a cluster using dockEr compose

  • @iamyeshna3395
    @iamyeshna3395 4 месяца назад

    Great thanks, could you please share whether we can do cluster on different servers and if yes, share few insights

  • @saadabbasi2063
    @saadabbasi2063 2 года назад

    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.

  • @imanshirkhodaee1704
    @imanshirkhodaee1704 2 года назад

    what a great video, thanks.

  • @bhaveshpanwar1459
    @bhaveshpanwar1459 2 года назад +1

    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

  • @Casal0x
    @Casal0x Год назад

    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

  • @fazlurrahmatullah3017
    @fazlurrahmatullah3017 9 месяцев назад

    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

  • @omricohen5351
    @omricohen5351 2 года назад

    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

  • @muhammadahmod334
    @muhammadahmod334 Год назад

    Do you have any resources about putting all this behind a nginx load balancer?

  • @jalerpandyamahesa5451
    @jalerpandyamahesa5451 9 месяцев назад

    Makasih mas botak, ini sangat membantu.

  • @veerendran-xi9qo
    @veerendran-xi9qo 7 месяцев назад

    Thanks, Good explanation. Is there any load balance solution?

    • @Redisinc
      @Redisinc  7 месяцев назад

      Thanks! This doc may help: docs.redis.com/latest/rs/networking/cluster-lba-setup/ - Justin

  • @hopdediks
    @hopdediks 2 года назад +1

    Could you please do it also for the docker swarm?

  • @user-gm6er1rx3m
    @user-gm6er1rx3m Год назад

    And now how I connect to that cluster for example in python?
    My host and port would be anyone?

    • @user-gm6er1rx3m
      @user-gm6er1rx3m Год назад

      The answer was any master node, jeje. Thank you for your tutorial, It help me a lot in my work

  • @irfanshaikh-km9ol
    @irfanshaikh-km9ol 2 года назад

    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

    • @Redisinc
      @Redisinc  2 года назад +1

      I believe I opened a new tab in that instance with (Command+t). If you want to stop the server, press (Control+c)

    • @irfanshaikh-km9ol
      @irfanshaikh-km9ol 2 года назад

      @@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.

  • @nt3900
    @nt3900 2 года назад

    Hi Just, which instance is 172.0.0.1 referring to? Is that 1 random out of the 8 configured instances?

    • @coltr5288
      @coltr5288 2 года назад

      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