dimagi/commcare-hq — pull request #3479 by gcapalbo (2014-05-22 21:04:40+00:00)
Title: SMS Rate Limiting and Load Balancing

This adds two features to the SMS queue for outgoing SMS:

1) Rate limiting. Each SMS backend can now specify by how many seconds each SMS should be separated.

2) Load balancing. Each SMS backend can use a mixin to allow balancing the SMS load evenly between a set of phone numbers.

Both rate limiting and load balancing can also be used together, in which case the SMS load will be balanced evenly across all numbers which will be individually rate limited.