php - bulk delete from redis -
deleting cached values in bulk using hash taking lot of time.
4000 keys in 1 hr.
let me know how effectively.
note: i'm using pattern matching find job ids unique in nature , simultaneously deleting it.
as anuj mittal said should add more details code. however, many redis operations can use pipeline . on other hand, performance bad in case. redis can execute operations more mentioned. based on documentation here :
$ redis-benchmark -t set,lpush -n 100000 -q set: 74239.05 requests per second lpush: 79239.30 requests per second
Comments
Post a Comment