NetMQ: High-performance In-network Caching for Message Queues with Programmable Switches

被引:1
|
作者
Ma, Junte [1 ,2 ]
Xie, Sihao [1 ,2 ]
Zhao, Jin [1 ,2 ]
机构
[1] Fudan Univ, Sch Comp Sci, Shanghai, Peoples R China
[2] Shanghai Key Lab Intelligent Informat Proc, Shanghai, Peoples R China
基金
中国国家自然科学基金;
关键词
Message Queues; Programmable Switches; P4; In-network Processing; Cloud Computing; High Performance;
D O I
10.1109/ICC45855.2022.9839134
中图分类号
TN [电子技术、通信技术];
学科分类号
0809 ;
摘要
Message queues are fundamental components in modern cloud architecture. With the increased data traffic, traditional distributed message queue systems suffer from low performance. We present NetMQ, a new message queue architecture that leverages the power and flexibility of new-generation programmable switches to handle message producing and consuming requests of hot message queues. Due to the limited switch memory, we design a memory layout for multiple cached queues sharing a single register array, and two memory supplementing strategies for different types of queues. To handle dynamic workloads, we design a space-efficient hot queue detector in the data plane, and a heuristic algorithm running in the controller to update the cached topic partition regularly. We implement a NetMQ prototype on Barefoot Tofino switches and commodity servers. Our evaluations show that NetMQ reduces the latency by 3.5-18x, and improves the throughput by 3-3.8x for queues cached in the switch, while incurs negligible overheads for the uncached queues.
引用
收藏
页码:4595 / 4600
页数:6
相关论文
共 50 条
  • [1] HyperTester: High-Performance Network Testing Driven by Programmable Switches
    Zhang, Dai
    Zhou, Yu
    Xi, Zhaowei
    Wang, Yangyang
    Xu, Mingwei
    Wu, Jianping
    [J]. IEEE-ACM TRANSACTIONS ON NETWORKING, 2021, 29 (05) : 2005 - 2018
  • [2] HyperTester: High-performance Network Testing Driven by Programmable Switches
    Zhou, Yu
    Xi, Zhaowei
    Zhang, Dai
    Wang, Yangyang
    Wang, Jinqiu
    Xu, Mingwei
    Wu, Jianping
    [J]. PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON EMERGING NETWORKING EXPERIMENTS AND TECHNOLOGIES (CONEXT '19), 2019, : 30 - 43
  • [3] High-Performance Kernel-Level In-Network Caching for Named Data Networking
    Yang, Jike
    Song, Tian
    Li, Tianlong
    Yang, Yating
    [J]. Computer Engineering and Applications, 2023, 59 (16): : 240 - 247
  • [4] Switches are Scanners Too! A Fast and Scalable In-Network Scanner with Programmable Switches
    Li, Guanyu
    Zhang, Menghao
    Guo, Cheng
    Bao, Han
    Xu, Mingwe
    Hu, Hongxin
    [J]. PROCEEDINGS OF THE THE 20TH ACM WORKSHOP ON HOT TOPICS IN NETWORKS, HOTNETS 2021, 2021, : 77 - 83
  • [5] IMap: Fast and Scalable In-Network Scanning with Programmable Switches
    Li, Guanyu
    Zhang, Menghao
    Guo, Cheng
    Bao, Han
    Xu, Mingwei
    Hu, Hongxin
    Li, Fenghua
    [J]. PROCEEDINGS OF THE 19TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION (NSDI '22), 2022, : 667 - 681
  • [6] IIsy: Hybrid In-Network Classification Using Programmable Switches
    Zheng, Changgang
    Xiong, Zhaoqi
    Bui, Thanh T.
    Kaupmees, Siim
    Bensoussane, Riyad
    Bernabeu, Antoine
    Vargaftik, Shay
    Ben-Itzhak, Yaniv
    Zilberman, Noa
    [J]. IEEE-ACM TRANSACTIONS ON NETWORKING, 2024, 32 (03) : 2555 - 2570
  • [7] NB-Cache: Non-Blocking In-Network Caching for High-Performance Content Routers
    Pan, Tian
    Lin, Xingchen
    Song, Enge
    Xu, Cheng
    Zhang, Jiao
    Li, Hao
    Lv, Jianhui
    Huang, Tao
    Liu, Bin
    Zhang, Beichuan
    [J]. IEEE-ACM TRANSACTIONS ON NETWORKING, 2021, 29 (05) : 1976 - 1989
  • [8] In-Network Volumetric DDoS Victim Identification Using Programmable Commodity Switches
    Ding, Damu
    Savi, Marco
    Pederzolli, Federico
    Campanella, Mauro
    Siracusa, Domenico
    [J]. IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2021, 18 (02): : 1191 - 1202
  • [9] Leveraging In-Network Computing and Programmable Switches for Streaming Analysis of Scientific Data
    Sankaran, Ganesh C.
    Chung, Joaquin
    Kettimuthu, Raj
    [J]. PROCEEDINGS OF THE 2021 IEEE 7TH INTERNATIONAL CONFERENCE ON NETWORK SOFTWARIZATION (NETSOFT 2021): ACCELERATING NETWORK SOFTWARIZATION IN THE COGNITIVE AGE, 2021, : 293 - 297
  • [10] Mousika: Enable General In-Network Intelligence in Programmable Switches by Knowledge Distillation
    Xie, Guorui
    Li, Qing
    Dong, Yutao
    Duan, Guanglin
    Jiang, Yong
    Duan, Jingpu
    [J]. IEEE CONFERENCE ON COMPUTER COMMUNICATIONS (IEEE INFOCOM 2022), 2022, : 1938 - 1947