Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8849901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:46:25+00:00 2026-06-14T12:46:25+00:00

I have one redis node already, now the momery is cost much and i

  • 0

I have one redis node already, now the momery is cost much and i want to migrate this to more instance. if i load the rdb in every instance, it must be waste a lot.
I can use “keys ” to get all key, and then sharding the data by performing a consistent hash upon the key, but it is very ugly…Any beatiful solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T12:46:26+00:00Added an answer on June 14, 2026 at 12:46 pm

    If you had redis running in with AOF configured you could simply write a script that reads the AOF. That’s what we did. With redis in RDB configuration i don’t think you can do that.

    If you’re running redis 2.6 you could use the migrate command:

    http://redis.io/commands/migrate

    You would still need to iterate over the keys with KEYS.

    I don’t think there is a better solution that iterating over all keys with KEYS and then consistently hash them.

    If you’re not afraid of communicating with redis directly you could process the bulk reply of KEYS * while reading it, to speed things up and save memory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have one Redis instance that has two databases. Now I want to set
I have been using node and redis for some time. The problem I am
I'm currently running multiple redis instances on one box. Each have their own config,
We have configured the Redis server with one master and two slaves. If my
To be more specific, I have created a custom Redis module: MyRedis MyRedis.py import
im hacking an app using RoR and Redis. The Redis infrastructure wil have one
I have been just learning redis and node.js There are two questions I have
I want to use redis for my game's leaderboard data and I have seen
I apparently have a redis-server instance running because when I try to start a
I have a socket.io server using redis called server.js that fires up a node

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.