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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -