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.
翻译:微服务应用的运用的关键在于高效处理RPC电话。我们发现,在流行的微服务基准套件“死亡星堡”中,无同步的呼叫实施造成线性管理瓶颈,降低高峰输送量,增加高要求率的潜伏。 以纤维实施取代线性实施,将高峰输送量提高到6x,这意味着服务可以以更高的请求率运作,而不会大幅提高应对耐久性。