fluss icon indicating copy to clipboard operation
fluss copied to clipboard

[Feature] Control the background job thread nums of rocksdb

Open luoyuxia opened this issue 2 years ago • 1 comments

Search before asking

  • [X] I searched in the issues and found nothing similar.

Motivation

Currently, we will create two background threads per bucket to do fluss/compaction which may cause controllable threads.

Solution

We can control the background threads in server level. Thanksfully, Rocksdb allows us share a threads pool across rocksdbs. See more in https://github.com/facebook/rocksdb/blob/3ef909248736eb80e7c6b3c7a19753c4dbe9d0c5/include/rocksdb/env.h#L465

Anything else?

No response

Willingness to contribute

  • [ ] I'm willing to submit a PR!

luoyuxia avatar Dec 02 '24 04:12 luoyuxia

Hi @wuchong Can you assign this to me ?

Anurag15v avatar Oct 03 '26 13:10 Anurag15v