Skip to content

arbitrary command with memcached #223

Open
@tar-unix

Description

@tar-unix

Hi,
I am trying to run memtier_benchmark to test memcached with arbitrary command options.
Here is my command

./memtier_benchmark -S $SOCKET --protocol=redis --threads=$NR_THREADS --pipeline=1 --key-minimum=1 --key-maximum=$KEY_MAX -n $PER_CLIENT_REQUESTS -c $NR_CLIENTS --hide-histogram --command="set key 5" --command-ratio=2 --command-key-pattern=R -D

But it fail with:
protocol.cpp:600: unsupported response: 'ERROR'.
error: response parsing failed.

When I checked, I understood that, --command option is implemented for redis protocol only, and memcached has ASCII, binary protocol. I am not sure If I understood it correctly.
How can I test memcached with arbitrary commands if it is possible?

~Tarun

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