Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redislabs/memtier_benchmark
NoSQL Redis and Memcache traffic generation and benchmarking tool.
https://github.com/redislabs/memtier_benchmark
benchmark load-testing memcached redis stress-testing
Last synced: 1 day ago
JSON representation
NoSQL Redis and Memcache traffic generation and benchmarking tool.
- Host: GitHub
- URL: https://github.com/redislabs/memtier_benchmark
- Owner: RedisLabs
- License: gpl-2.0
- Created: 2013-06-27T19:41:08.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-09-25T16:14:18.000Z (about 2 months ago)
- Last Synced: 2024-11-03T14:35:59.598Z (11 days ago)
- Topics: benchmark, load-testing, memcached, redis, stress-testing
- Language: C++
- Size: 1.03 MB
- Stars: 914
- Watchers: 41
- Forks: 218
- Open Issues: 33
-
Metadata Files:
- Readme: README.import
- License: COPYING
Awesome Lists containing this project
README
The memtier_benchmark tool provides a --data-import option that allows reading
data and optionally key names from file.The expected file is a comma delimited file (CSV), with the following
columns:'dumpflags' an integer bit-mask flags value which should generally be '0'.
'time' the time the item was inserted or modified, expressed in
seconds since the memcached startup.
'exptime' item's expiration time, expressed in seconds since the
memcached startup.
'nbytes' length of item data, in bytes.
'nsuffix' length of flags+length string associated with the item, in bytes.
'it_flags' a flags bitmask value.
'clsid' item's slab class ID.
'nkey' length of key, in bytes.
'key' the key itself.
'data' the data itself.The 'key' and 'data' columns are enclosed in double quotes. If data in these
columns contains a double quote, it is quoted (i.e., a single " is encoded as
"").The data column may contain binary data, including non-ASCII characters, NULLs,
CRs and LFs.Note:
To avoid unnecessary error while passing file.
1. Add extra 4 bytes in nbytes
2. Add extra 2 bytes in nkey
Example:
dumpflags, time, exptime, nbytes, nsuffix, it_flags, clsid, nkey, key, data
0, 0, 60, 19, 200, 0, 1, 11, 'doxrpshny', 'asdfghjklqwerty'