Vert.x in cpu intensive case performance

57 views
Skip to first unread message

Jian-Min Huang

unread,
Jun 21, 2021, 11:31:50 PM6/21/21
to vert.x
Hi,

I'm doing some performance testing and found a strange issue.

Performance of Vert.x cpu intensive case is not as better as other Spring.

Maybe I miss some configuration or bad coding type.



Thanks everyone : )

jklingsporn

unread,
Jun 22, 2021, 8:12:02 AM6/22/21
to vert.x
If you deploy the verticle only once, you only get single-cpu-performance. You need to deploy the verticle more than once to make use of all cores. See here: https://vertx.io/docs/vertx-core/java/#_specifying_number_of_verticle_instances

Jian-Min Huang

unread,
Jun 23, 2021, 1:14:41 AM6/23/21
to vert.x
截圖 2021-06-23 13.12.13.png

finally I solve the problem with rewrite these code

thanks everyone 
jklingsporn 在 2021年6月22日 星期二下午8:12:02 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages