Skip to content

Support clustered benchmarks via CLI #847

Description

@jabolina

Is your feature request related to a problem? Please describe.
The standalone CLI commands always start a non-clustered controller. Benchmarks defining agents: are rejected because. Running distributed benchmarks currently requires deploying the full Hyperfoil server distribution.

Describe the solution you'd like
A --clustered flag on the standalone CLI that starts a clustered Vert.x instance, enabling SSH-deployed agents on remote machines. The flag would be intercepted in LoadAndRun.main() and threaded through StartLocal to LocalController.Factory.start(), which would use Hyperfoil.clusteredVertx(true) instead of Vertx.vertx().

Additional context
This also allows us to utilize the JBang command to submit clustered benchmarks: jbang --fresh run@. --clustered sample-benchmark.yml where sample-benchmark.yml defines multiple remote agents. The local node where the command is run serves as the controller.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions