Page 1 of 1

Global WorkerThreads Limit

Posted: Fri Dec 08, 2017 8:28 am
by wcchor
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.

Re: Global WorkerThreads Limit

Posted: Fri Dec 08, 2017 10:48 am
by alt
Thank you for your suggestion.

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