How does vert.x achieve superior performance compared to Netty?

江枫思渺然 提交于 2019-12-03 10:05:00

It depends which benchmark and which round you are talking about, rounds have different performant results and performance results are different for each benchmark (plaintext, json, query, etc...).

It is very correct that Vertx uses Netty for its IO and on the benchmarks with no back-end the results are quite similar for this reason. In such tests usually Netty is bit faster than Vertx because it does less things than Vertx since Vertx is a library for developing applications while Netty is a networking library.

In databases tests, stellar performance of Vertx is much related to the usage of the Reactive Postgres Client that is very optimised and provides also network pipelining that makes a difference is this benchmark.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!