Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] Is it possible to scale the number of I/O threads without restarting? #11529

Open
gtygo opened this issue Nov 21, 2022 · 3 comments
Open

Comments

@gtygo
Copy link

gtygo commented Nov 21, 2022

Description of the feature

Hi, as mentioned in topic,Redis version 6.0 has Amazing thread scaling capabilities, However, under certain large throughput scenarios, when we need to increase the number of threads, usually, it requires us to modify the configuration file and restart the Redis service, therefore, is it possible for us to increase the number of threads via command line (ex: CONFIG SET io-threads N)?

Alternatives you've considered
Modify the configuration file && Restart the redis service.

Looking forward to the reply : )

@madolson
Copy link
Contributor

Hey. As of right now we aren't looking into changing the number of IO threads. There are a lot of issues with the current implementation and there is some long term strategy to revamp the approach. If you are interested in making it configurable, I'm fairly sure it should be fairly straight forward. As long as the implementation is pretty simple, I would say feel free to try to implement it.

@ChangRuihe
Copy link

@madolson hi, bro
I have some ideas about redis multi io threads , need your feedback thanks:

  1. we could config set io-threads on redis's running status , It's manual.
  2. we shuold build a io-threads pool for redis io operations, redis server could select n threads Intelligently for io operation by the moment numbers of requestion.
  3. IO-threads Work independently from main io , io-threads ready request & send response Concurrently, and main io deal with every command serially .

And I want to make contributions to the Redis open source community. You can guide me.

I need your feedback and suggestions , thank!

@soraiabatista
Copy link

Hi, I'm interested in implementing this feature, is anyone currently working on this?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants