What is the replacement to setMaxPoolSize in WebClientOptions in Vertx 5.0.2

34 views
Skip to first unread message

E. Ulrich Kriegel

unread,
Aug 13, 2025, 5:37:40 AMAug 13
to vert.x
Hi there,

in Vertx 4.5.17 we used webClientOptions.setMaxPoolSize(...) to improve the throughput in Gatling tests. However, this operation is no longer available in Vertx 5.0.2.

What can we do in Vertx 5.0.2 to improve the  throughput?

Thanks in advance

-- Ulrich

E. Ulrich Kriegel

unread,
Aug 14, 2025, 11:01:27 AMAug 14
to vert.x
Addendum:
in Vertx4 a service was able to handle 80 user/sec over 100 sec, in Vertx 5 the same service replys with 408 for 20 users/sec after 40 sec.

Julien Viet

unread,
Aug 22, 2025, 8:33:36 AMAug 22
to ve...@googlegroups.com
you need to use the factory method that takes the new PoolOptions parameter:

WebClient create(Vertx vertx, WebClientOptions options, PoolOptions poolOptions)

Julien
> --
> You received this message because you are subscribed to the Google Groups "vert.x" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
> To view this discussion, visit https://groups.google.com/d/msgid/vertx/99067f19-619e-41e1-9ac0-b3d1b55cbc33n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages