{'fraction_non_alphanumeric': 0.02365415986949429, 'fraction_numerical': 0.0016313213703099511, 'mean_word_length': 5.260204081632653, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
SwitchAgg: A Further Step Towards In-Network Computing

Many distributed applications adopt a partition/aggregation pattern to achieve high performance and scalability. The aggregation process, which usually takes a large portion of the overall execution time, incurs large amount of network traffic and bottlenecks the system performance. To reduce network traffic, some researchers take advantage of the emerging programmable RMT (Reconfigurable Match-Action Table) switch to commit In-Network Aggregation. However, we argue that the architecture of RMT switch is not well-suited for In-Network Aggregation since it is designed primarily for implementing traditional network functions. In this paper, we first show the weakness of RMT switch in handling aggregation tasks, and then we propose SwitchAgg, which is an In-Network Aggregation system that overcomes the shortcomings of RMT. We evaluate the performance improvement we have gained from SwitchAgg. Our results show that, SwitchAgg can aggregate data at line rate and give a high data reduction ratio, which helps us cut down network traffic and alleviate pressure on server CPU. In the system performance test, the job completion time can be reduced as much as 44%.