eclipse-vertx / eclipse-vertx/vert.x
Auto scaling early support
- Dominant language
- Java
- Stars
- 14.7k
- Forks
- 2.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 28
Description
### Describe the feature
Netty supports an auto scaling event loop group that we could leverage at a couple of levels (server, client connection pool).
We could have an option to configure vertx event loop group to be autoscaled (that is created with a `AutoScalingEventExecutorChooserFactory`) that would allow the group to suspend event loops. Note that suspending event loops means that they won't be returned anymore by the group, the event loop still remains individually active.
Vert.x server `VertxEventLoopGroup` would be modified to take in account to skip suspended event loops, therefore any new connection would be assigned to a non suspended event loop from the autoscaler perspective.
### Contribution
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.