eclipse-vertx / eclipse-vertx/vert.x

Auto scaling early support

Open
#5,774 0 comments 2 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.