NetAgg: Using Middleboxes for Application-specific On-path Aggregation in Data Centres

  • Luo Mai ,
  • Lukas Rupprecht ,
  • Abdul Alim ,
  • ,
  • Matteo Migliavacca ,
  • Peter Pietzuch ,
  • Alexander L. Wolf

Proceedings of the 10th ACM International Conference on emerging Networking EXperiments and Technologies (CoNEXT'14) |

Published by ACM - Association for Computing Machinery

Data centre applications for batch processing (e.g., map/reduce frameworks) and online services (e.g., search engines) scale by distributing data and computation across many servers. They typically follow a partition/aggregation pattern: tasks are first partitioned across servers that process data locally, and then those partial results are aggregated. This data aggregation step, however, shifts the performance bottleneck to the network, which typically struggles to support many-to-few, high-bandwidth traffic between servers.

Instead of performing data aggregation at edge servers, we show that it can be done more efficiently along network paths. We describe NetAgg, a software platform that supports on-path aggregation for network-bound partition/aggregation applications. NetAggexploits a middlebox-like design, in which dedicated servers (agg boxes) are connected by high-bandwidth links to network switches. Agg boxes execute aggregation functions provided by applications, which alleviates network hotspots because only a fraction of the incoming traffic is forwarded at each hop. NetAgg requires only minimal application changes: it uses shim layers on edge servers to redirect application traffic transparently to the agg boxes. Our experimental results show that NetAgg improves substantially the throughput of two sample applications, the Solr distributed search engine and the Hadoop batch processing framework. Its design allows for incremental deployment in existing data centres and incurs only a modest investment cost.