memcached / mcshredder

another load generation tool
Other
5 stars 2 forks source link

Request to support more commands #4

Open feihu-stripe opened 1 year ago

feihu-stripe commented 1 year ago

Request to support all the following commands:

mcp.CMD_ADD
mcp.CMD_SET
mcp.CMD_DELETE
mcp.CMD_GET
mcp.CMD_GETS
mcp.CMD_TOUCH
mcp.CMD_MA
mcp.CMD_MS
mcp.CMD_MD
mcp.CMD_MG
mcp.CMD_ME

This is what's supported today:

{"get", mcslib_get},
{"set", mcslib_set},
{"touch", mcslib_touch},
{"delete", mcslib_delete},
{"mg", mcslib_mg},
{"ms", mcslib_ms},
{"md", mcslib_md},
{"ma", mcslib_ma},
{"mg_factory", mcslib_mg_factory},
{"md_factory", mcslib_md_factory},
{"ma_factory", mcslib_ma_factory},
{"ms_factory", mcslib_ms_factory},

The diff is:

mcp.CMD_ADD
mcp.CMD_GETS
mcp.CMD_ME
dormando commented 1 year ago

Thanks!

The ME command is supposed to be a non-production-facing debug command. I wasn't intending on supporting that in mcshredder. Parsing the response is a lot too. Is that one necessary?

feihu-stripe commented 1 year ago

You are right, I confirmed that ME is not used and should be removed from the list.

What's left are:

mcp.CMD_ADD
mcp.CMD_GETS
feihu-stripe commented 1 year ago

Thank you!