Page 1 of 1

Multiple Destinations Load Balance

Posted: Sat Sep 29, 2018 4:19 pm
by wisam76m
Dears.
I wonder if we can figure out a way to balance the load on Multiple SMSCs like if we have couple or more SMSCs bound to and accepting SMS traffic , so we can rotate the destinations or the SMSCs in a way of load balance ..
any ideas?

thanks

Re: Multiple Destinations Load Balance

Posted: Mon Oct 01, 2018 7:49 pm
by alt
Hi wisam76m,

It should be not a problem to get a list of SMSC that accept some destination address. You can define address masks or a list of address ranges for each SMSC. In the moment of sending you can decide which SmppClient instance you need to use to transmit some PDU. For each SmppClient you can have incremental number with total amount of sent messages. You can take instance where this number is lower. Instead of number you can use datetime of the last sending. It could be more complex. You can consider a price for each PDU. You can always save some data in SmppClient.Tag property.

Anyway this is not a responsibility of SMPP protocol library.