高效的异步RPC调用微服务:DeathStarBench研究
Efficient Asynchronous RPC Calls for Microservices: DeathStarBench Study
摘要:
微服务应用程序性能的关键是RPC调用的有效处理。我们发现,流行的微服务基准套件DeathStarBench中的异步调用实现会导致线程管理的瓶颈,降低峰值吞吐量并增加高请求率下的延迟。将线程实现替换为光纤实现可将峰值吞吐量提高6倍,这意味着服务可以以更高的请求速率运行,而不会显著增加响应延迟。
英文摘要:
Crucial in the performance of microservice applications is the efficient handling of RPC calls. We found that the asynchronous call implementation in a popular microservice benchmark suite, DeathStarBench, causes a bottleneck in thread management, reducing the peak throughput and increasing latency at high request rates. Replacing the threaded implementation with a fiber implementation increases peak throughput by up to 6x, meaning that the service can operate at a higher request rate without significantly increasing response latency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。