Maximizing the sustained throughput of distributed continuous queries