Skip to content

Running multiple commands with different types? #244

@chakaz

Description

@chakaz

Hello memtier experts!
I'd like to use memtier for running multiple commands using multiple data types (like SET, ZADD, LPUSH, etc). While memtier does support multiple --command arguments (which is awesome!), since keys use a common generation technique (like using --key-prefix), this can't be done, as the same key may once be used for SET and then randomly for ZADD, for example.
Is there a way that I'm missing to specify per-command key prefix, or some other way of getting this to work?

BTW, I'd also propose a way to generate random numbers (in addition to __key__ and __data_), as this may be useful for ZADD scores. Maybe __random__ or even better: __random__[0-100]?

Thanks in advance!

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