separate threadPool for some service

RCF support and general discussion.
Post Reply
woshishuier
Posts: 4
Joined: Sat Jan 12, 2019 8:35 am

separate threadPool for some service

Post 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?

jarl
Posts: 238
Joined: Mon Oct 03, 2011 4:53 am
Contact:

Re: separate threadPool for some service

Post 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.
Kind Regards

Jarl Lindrud
Delta V Software
http://www.deltavsoft.com

Post Reply