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

Dissecting Overheads of Service Mesh Sidecars

Publication ,  Conference
Zhu, X; She, G; Xue, B; Zhang, Y; Zou, XK; Duan, XC; He, P; Krishnamurthy, A; Lentz, M; Zhuo, D; Mahajan, R
Published in: Socc 2023 Proceedings of the 2023 ACM Symposium on Cloud Computing
October 30, 2023

Service meshes play a central role in the modern application ecosystem by providing an easy and flexible way to connect microservices of a distributed application. However, because of how they interpose on application traffic, they can substantially increase application latency and its resource consumption. We develop a tool called MeshInsight to help developers quantify the overhead of service meshes in deployment scenarios of interest and make informed trade-offs about their functionality vs. overhead. Using MeshInsight, we confirm that service meshes can have high overhead—up to 269% higher latency and up to 163% more virtual CPU cores for our benchmark applications—but the severity is intimately tied to how they are configured and the application workload. IPC (inter-process communication) and socket writes dominate when the service mesh operates as a TCP proxy, but protocol parsing dominates when it operates as an HTTP proxy. MeshInsight also enables us to study the end-to-end impact of optimizations to service meshes. We show that not all seemingly-promising optimizations lead to a notable overhead reduction in realistic settings.

Duke Scholars

Published In

Socc 2023 Proceedings of the 2023 ACM Symposium on Cloud Computing

DOI

Publication Date

October 30, 2023

Start / End Page

142 / 157
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Zhu, X., She, G., Xue, B., Zhang, Y., Zou, X. K., Duan, X. C., … Mahajan, R. (2023). Dissecting Overheads of Service Mesh Sidecars. In Socc 2023 Proceedings of the 2023 ACM Symposium on Cloud Computing (pp. 142–157). https://doi.org/10.1145/3620678.3624652
Zhu, X., G. She, B. Xue, Y. Zhang, X. K. Zou, X. C. Duan, P. He, et al. “Dissecting Overheads of Service Mesh Sidecars.” In Socc 2023 Proceedings of the 2023 ACM Symposium on Cloud Computing, 142–57, 2023. https://doi.org/10.1145/3620678.3624652.
Zhu X, She G, Xue B, Zhang Y, Zou XK, Duan XC, et al. Dissecting Overheads of Service Mesh Sidecars. In: Socc 2023 Proceedings of the 2023 ACM Symposium on Cloud Computing. 2023. p. 142–57.
Zhu, X., et al. “Dissecting Overheads of Service Mesh Sidecars.” Socc 2023 Proceedings of the 2023 ACM Symposium on Cloud Computing, 2023, pp. 142–57. Scopus, doi:10.1145/3620678.3624652.
Zhu X, She G, Xue B, Zhang Y, Zou XK, Duan XC, He P, Krishnamurthy A, Lentz M, Zhuo D, Mahajan R. Dissecting Overheads of Service Mesh Sidecars. Socc 2023 Proceedings of the 2023 ACM Symposium on Cloud Computing. 2023. p. 142–157.

Published In

Socc 2023 Proceedings of the 2023 ACM Symposium on Cloud Computing

DOI

Publication Date

October 30, 2023

Start / End Page

142 / 157