continuable icon indicating copy to clipboard operation
continuable copied to clipboard

Question: thread pool of choice

Open pfeatherstone opened this issue 11 months ago • 1 comments

When using custom executors, is there a good thread pool you recommend that works well with this library or will any be fine ?

Are task stealing lock free ones a good choice or not ?

Cheers

pfeatherstone avatar Mar 10 '24 11:03 pfeatherstone

I was thinking of benchmarking taskflow vs continuable+thread_pool

pfeatherstone avatar Mar 10 '24 11:03 pfeatherstone

Hi, it usually depends on your use-case and requirements what a good thread pool is for you. The library can be used with all thread pools that support queuing arbitrary callable objects as work. Therefore, it might be best to benchmark the implementations that fits your use-case.

Naios avatar Mar 11 '24 17:03 Naios

Okidok. Will have to do some tests.

pfeatherstone avatar Mar 11 '24 18:03 pfeatherstone