Skip to main content
construction release_alert
Scholars@Duke will be down for maintenance for approximately one hour starting Tuesday, 11/11 @1pm ET
cancel

High-level Programming for Application Networks

Publication ,  Conference
Zhu, X; Wang, Y; Liu, B; Wu, Y; Bojanic, N; Chen, J; Bernstein, GL; Krishnamurthy, A; Kumar, S; Mahajan, R; Zhuo, D
Published in: Proceedings of the 22nd Usenix Symposium on Networked Systems Design and Implementation Nsdi 2025
January 1, 2025

Application networks facilitate RPC communication between the microservices of cloud applications. They are built today using service meshes which employ low-level specifications and have high overhead-it is difficult to express even simple application-specific functionality (e.g., access control based on RPC fields) and RPC latency can more than double. We develop AppNet, a framework for building expressive and high-performance application networks. Developers specify rich application network functions (ANFs) in a high-level language with generalized match-action rules. We compile the specifications to high-performance code after optimizing where (e.g., client, server) and how (e.g., RPC library, proxy) each function runs. The optimization uses symbolic abstraction and execution to judge if different runtime configurations of possibly stateful functions are semantically equivalent for arbitrary RPC streams. Our experiments show that AppNet can express common ANFs in only 7-28 lines of code. Its optimizations lower RPC processing latency by up to 82%.

Duke Scholars

Published In

Proceedings of the 22nd Usenix Symposium on Networked Systems Design and Implementation Nsdi 2025

Publication Date

January 1, 2025

Start / End Page

915 / 935
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Zhu, X., Wang, Y., Liu, B., Wu, Y., Bojanic, N., Chen, J., … Zhuo, D. (2025). High-level Programming for Application Networks. In Proceedings of the 22nd Usenix Symposium on Networked Systems Design and Implementation Nsdi 2025 (pp. 915–935).
Zhu, X., Y. Wang, B. Liu, Y. Wu, N. Bojanic, J. Chen, G. L. Bernstein, et al. “High-level Programming for Application Networks.” In Proceedings of the 22nd Usenix Symposium on Networked Systems Design and Implementation Nsdi 2025, 915–35, 2025.
Zhu X, Wang Y, Liu B, Wu Y, Bojanic N, Chen J, et al. High-level Programming for Application Networks. In: Proceedings of the 22nd Usenix Symposium on Networked Systems Design and Implementation Nsdi 2025. 2025. p. 915–35.
Zhu, X., et al. “High-level Programming for Application Networks.” Proceedings of the 22nd Usenix Symposium on Networked Systems Design and Implementation Nsdi 2025, 2025, pp. 915–35.
Zhu X, Wang Y, Liu B, Wu Y, Bojanic N, Chen J, Bernstein GL, Krishnamurthy A, Kumar S, Mahajan R, Zhuo D. High-level Programming for Application Networks. Proceedings of the 22nd Usenix Symposium on Networked Systems Design and Implementation Nsdi 2025. 2025. p. 915–935.

Published In

Proceedings of the 22nd Usenix Symposium on Networked Systems Design and Implementation Nsdi 2025

Publication Date

January 1, 2025

Start / End Page

915 / 935