vert-x3 / issues

Apache License 2.0
37 stars 7 forks source link

Reduce the resources of client creating their own vertx instance #647

Open vietj opened 1 month ago

vietj commented 1 month ago

Some clients can create a vertx instance when no vertx instance is specified.

We should create those clients will less resources, e.g. a single event-loop by default.

tsegismont commented 1 month ago

I assume the goal is to avoid creating too many threads, correct? That sounds good to me.

Afaik, if users want to customize Vert.x for their client, the only solution is to create a Vert.x instance manually. In this case, does it mean clients created without providing a Vert.x instance will always operate with a single event loop thread?

vietj commented 1 month ago

I think a single thread would be a good default value (can't do less :-) )