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

  • Home
  • SEARCH
  • 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 3969568
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:58:45+00:00 2026-05-20T03:58:45+00:00

We are having fun with Redis on a Nodejs server – great combo btw.

  • 0

We are having fun with Redis on a Nodejs server – great combo btw. The question is out of curiosity and should be treated as “in theory”.

Is there any performance difference between storing your values on numeric keys (1,2,3,4…) over compressed keys (A9z3,A9z4,A9z5…). I’m thinking select speed only in a database with 2 million keys.

I hope the question is not too damn stupid, best regards 😉

  • 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-05-20T03:58:46+00:00Added an answer on May 20, 2026 at 3:58 am

    If you are storing the keys as a list or a string, there should be no performance difference, as the integers are stored the same way as strings in memory. So, there would be no noticeable performance difference when selecting a string or an integer.

    Memory wise, the compressed keys would have less overhead in memory “because with small keys and values there is a lot of overhead.” But we are talking bytes here. (http://redis.io/topics/faq)

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

Sidebar

Related Questions

I'm having some fun trying to pick a decent SQL Server 2008 spatial index
I just recently got into using vim, and am having great fun adding load
I'm having fun with a change to a content type field (from a node
I always seem to be having fun working with the Ax 2009 product until
I am beginning some experimentation in writing a kernel and having fun doing it.
I'm having a fun issue, I have LiveReload working in Chrome, so I know
I'm new to Linux/CentOS and I'm not having the most fun using it. I
so I'm having a lot of fun with Perl at home for some time
I am having fun creating my own wallpaper changer program. I know there are
I’m having fun with EF and have come unstuck. Originally I used the following

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.