Redis-benchmark - встроенный тест

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

Redis-benchmark - встроенный тест

# redis-benchmark -q -n 100000 -c 50 -P 12
PING_INLINE: 609756.06 requests per second
PING_BULK: 740740.69 requests per second 
SET: 641025.62 requests per second
GET: 800000.00 requests per second
INCR: 740740.69 requests per second
LPUSH: 724637.69 requests per second
LPOP: 719424.44 requests per second
SADD: 769230.81 requests per second 
SPOP: 862069.00 requests per second
LPUSH (needed to benchmark LRANGE): 735294.06 requests per second
LRANGE_100 (first 100 elements): 89525.52 requests per second
LRANGE_300 (first 300 elements): 18304.96 requests per second
LRANGE_500 (first 450 elements): 8389.26 requests per second
LRANGE_600 (first 600 elements): 6583.71 requests per second 
MSET (10 keys): 160000.00 requests per second


Выполнит 100 000 запросов от 50 клиентов по 12 команд одновременно