Global WorkerThreads Limit

.NET library for SMPP protocol
Locked
wcchor
Posts: 3
Joined: Mon Mar 20, 2017 8:21 am

Global WorkerThreads Limit

Post by wcchor » Fri Dec 08, 2017 8:28 am

Hi alt,

I'm not really sure if this is possible but right now, as I have noticeable latency between my smpp server & db server (about 15ms per query), I'd toggle the number of workerthreads per client to ensure the bottleneck is not on my network latency.

The thing is, my management team do not really want to set "limit per client", they wish for a solution more towards "global thread limit", because we do not want to set something like 30 threads per client for 1000 clients, this would create 30k threads while we are pretty sure they wouldn't be all utilized.

We'd like to do something more like.. total fixed 500 threads that is shared among all clients, is there any method we can use to achieve above?

Thank you.
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Re: Global WorkerThreads Limit

Post by alt » Fri Dec 08, 2017 10:48 am

Thank you for your suggestion.

For now it is not possible to do this.
I'll try to add this feature for SmppServer class.
Locked