gosmpp icon indicating copy to clipboard operation
gosmpp copied to clipboard

Feature request: Rate limiter for ESME submit_sms

Open robertmircea opened this issue 3 years ago • 2 comments

All real SMSC that I've worked with have a rate limiting policy to prevent ESME to send submit_sm too fast. If the SMSC is detecting that ESME overpasses the allowed limiting (e.g. submits/sec), it will respond with ESME_RTHROTTLED and message will not be delivered. It would be useful if the library would support out-of-the box rate limiting the number of submits sent to SMSC.

robertmircea avatar May 03 '21 11:05 robertmircea

Hello @robertmircea , thank you very much for suggesting that great feature.

It might not be the scope of the library. However, I believe we could do something. I will discuss with @bachhh and let you know.

linxGnu avatar May 04 '21 23:05 linxGnu

@robertmircea you can check out https://github.com/fiorix/go-smpp

this has rate limiter that you want

tahseenjamal avatar Oct 21 '21 05:10 tahseenjamal