Open sprappcom opened 1 month ago
See https://github.com/cloudflare/pingora/blob/main/docs/user_guide/conf.md You can config the number of threads to use.
@eaufavor how to hard code pingora to use all threads with the hello world example?
use all threads
Do you mean let the hello world service use all the threads given or automatically set the thread number to the number of CPUs on a machine?
The service does the former automatically without any configuration needed. The latter is a feature request, which we can add easily.
@eaufavor the latter.
Okay. That makes sense as a feature request.
show examples that uses all thread in multi threaded of: