Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an ES client per simulated client instead of per worker. #1516

Merged

Commits on Jun 13, 2022

  1. Create an ES client per simulated client instead of per worker.

    Previously, Rally would instantiate an ES client per worker and scale its
    connection pool to match the number of simulated clients associated with that
    worker. This worker-level ES client would be shared across all of the
    simulated clients spawned by the worker.
    
    This meant that any simulated client and its siblings would have to use exactly
    the same ES transport options, as they all shared a single ES client object.
    There are use cases, however, where sibling clients may each need to set
    unique transport options (e.g. for authentication). This commit facilitates
    support for these lower-level overrides by creating a distinct ES client per
    simulated client, not per worker.
    Mike Baamonde committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    7b9e6df View commit details
    Browse the repository at this point in the history