Skip to content

Add support for additional commands #18

Description

@jamesx-improving

Note

Copied from ikolomi/resp-bench#19.
Originally opened by @jeremyprime on 2026-04-09T18:16:47Z.

Summary

The benchmark currently supports GET, SET, PING, and DEL. Adding more commonly used commands would enable more representative workloads and better coverage of different data structure code paths.

Current Behavior

Only four commands are implemented across all engines: GET, SET, PING, DEL. All operate on simple string key/value pairs.

Proposed Behavior

Add support for additional commands, based on most commonly used commands (real-world use cases):

  • MGET / MSET
  • INCR / INCRBY
  • HSET / HGET
  • LPUSH / LPOP
  • SADD / SMEMBERS
  • EXPIRE / TTL

Implementation Notes

  • Affects all engines (Java, Ruby, C#, etc)
  • Follow the existing Command or ICommand pattern and register in CommandFactory
  • MGET/MSET will need a way to specify batch size (e.g., via settings in the command config)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions