Page 1 of 1

separate threadPool for some service

Posted: Sat Jan 12, 2019 8:51 am
by woshishuier
Is it possible to set separate threadPool for some service ? because some service is designed to have high priority,I want to ensure that it's not influenced by other tasks。any idea? is it easy to modify the source to make it?

Re: separate threadPool for some service

Posted: Thu Jan 17, 2019 9:52 am
by jarl
Hi,

You can use asynchronous dispatching to process remote calls on thread pools that you manage yourself:

http://www.deltavsoft.com/doc/_async_re ... rSideAsync

Another option is to run your low priority and high priority services on different ports, that way you can assign different thread pools to them.