Skip to content

Add Support for Setting Queries Per Second in Benchmark Pingpong Client #7

@enum-class

Description

@enum-class

Issue Description

Feature Request

I would like to propose the addition of a feature to the benchmark pingpong client that allows users to set the queries per second (QPS). This enhancement would provide greater flexibility for performance testing and benchmarking scenarios.

Proposed Changes

The suggested modifications include:

  1. Add a Command Line Option:

    • Introduce a command line option, such as -qps or --queries-per-second, to allow users to specify the desired QPS value.
  2. Implementation of Throttling Mechanism:

    • Implement a throttling mechanism within the pingpong client that adheres to the specified QPS, ensuring that the client sends requests at the desired rate.
  3. Documentation Update:

    • Update the project documentation to include information on the new command line option and provide usage examples.

Expected Behavior

After these changes, users should be able to set the queries per second when running the benchmark pingpong client, and the client should adhere to the specified rate during testing.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions