Hello Team, To improve the threading within TypeSe...
# community-help
s
Hello Team, To improve the threading within TypeSense server, how can we modify the following parameter,
Copy code
--thread-pool-size	false	Number of threads used for handling concurrent requests. Default: NUM_CORES * 8
• Is it possible to modify the constant which is 8 in the default case ? • If yes, what is the limit to which we can increase it? Which metric is used to tune this value?
@Kishore Nallan
k
The constant is used only in default. If you know your server specs you can set the thread pool size value to any number you want explicitly.
s
@Kishore Nallan Got it, For example some one is aiming for 2000 - 3000 RPS then what would be the optimal configuration of the infra in terms of CPU & RAM and what should be a thread-pooling value
k
It wholly depends on the size + shape of your data, the kind of querying, what kind of clustering is required etc. Difficult to provide a comprehensive answer without those details.