在 TechEmpower 基准测试中,Netty 应用程序不支持保持连接——这是故意的吗?
In the TechEmpower benchmarks, the Netty application does not honor keepalive connections—is this on purpose?
我正在对我的 Netty 应用程序进行负载测试。我一直在寻找各种权威机构来尝试遵循最佳实践,以了解更多有关 Netty 的知识并成为更好的开发人员。
我正在咨询的其中一个权威机构是 blazingly fast Netty application that is part of the TechEmpower framework benchmarks。
我注意到此应用程序不接受作为测试的一部分发送的 Connection: Keep-Alive
header。具体来说,在任何给定的写操作结束时,它会关闭连接,即使 test requests that connections be kept alive. This is of course permitted, but…. Often times seemingly odd choices like this exist for good performance reasons. Is there a reason that the Netty application here chooses to close every connection 而不是让它们保持活动状态?
据我所知,它仅在收到对意外路径的请求时才这样做,在这种情况下,它只是在写入响应后关闭连接。
我正在对我的 Netty 应用程序进行负载测试。我一直在寻找各种权威机构来尝试遵循最佳实践,以了解更多有关 Netty 的知识并成为更好的开发人员。
我正在咨询的其中一个权威机构是 blazingly fast Netty application that is part of the TechEmpower framework benchmarks。
我注意到此应用程序不接受作为测试的一部分发送的 Connection: Keep-Alive
header。具体来说,在任何给定的写操作结束时,它会关闭连接,即使 test requests that connections be kept alive. This is of course permitted, but…. Often times seemingly odd choices like this exist for good performance reasons. Is there a reason that the Netty application here chooses to close every connection 而不是让它们保持活动状态?
据我所知,它仅在收到对意外路径的请求时才这样做,在这种情况下,它只是在写入响应后关闭连接。