Rate Allocation In Distributed Stream Processing Systems