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 8621487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:49:54+00:00 2026-06-12T06:49:54+00:00

I will be running redis on a dedicated server with 6 cores, 12 threads

  • 0

I will be running redis on a dedicated server with 6 cores, 12 threads and 32 GB of RAM. I am using redis as the primary datastore. Th application has a number of hashes, sets and lists but they all constitue the same app. In order to utilise all the threads, can I start multiple instances of redis on different ports and assign a few redis structures to each. Will this have any issue? I suppose in my client code, I would have to make multiple connections on different ports to read/write the app data..

Thanks

  • 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-12T06:49:55+00:00Added an answer on June 12, 2026 at 6:49 am

    Redis being single-threaded, you need to start several instances to leverage the benefit of multiple cores or multiple CPUs. Different ports have to be used, you may also need to change some other parameters in the config files to avoid conflicts:

    • pidfile
    • port
    • unixsocket
    • logfile
    • dbfilename (or alternatively dir)

    In the client code, you need at least one connection per Redis instance.

    The main issue is once some keys have been added in different instances, you cannot anymore run commands involving several keys without checking first that all the keys are on the same instance (for example you cannot anymore calculate the intersection of sets stored on different Redis instance, at least not with the SINTER command).

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

Sidebar

Related Questions

Please note this application will never be running on a server system. I am
I have an ASP.NET application which will be running in a web server (Windows
I have a silverlight application which users will be running in various time zones
I have a web application where the client will be running off a local
We are working on a Vista/Windows 7 application that will be running in 64
I am trying to add authentication to a xmlrpc server (which will be running
I am in the process of creating a java application that will be running
I am using Redis 2.4.6 Stable. I have increased the number of redis file
I am developing an application that will be running behind the scenes in Windows
I have a game application that I will be running in a web browser

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.