Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Create spec to define how we keep the server load to an acceptable minimum #379
When the phone is in the foreground we have to make sure that we don't have a situation where someone has figured out to cause us to eat a lot of battery but we really can't stop them from eating all bandwidth, it's the nature of the P2P beast. There is no hope of stopping DOS on a phone over P2P, just limiting its damage.
But when we are in the background it's crucial that we limit battery usage to a minimum so we need a way to monitor the system and make sure we are sipping battery, not gulping it. This includes things like limiting how many minutes of airtime we use in the background, limiting how much data we move, etc.