Network-Aware Optimization in Distributed Data Stream Systems