Redis callback upon persistence on disk -


i using redis @ work , wondering if there built-in way incorporate hook or callback upon redis persisting in memory key on disk? in end might unnecessary i'd update key in redis once different key has been stored on disk? possible?

no, it`s not possible. yes, it's unnecessary update key in redis if in memory , disk data different. also, can (but realy not want in production in of cases) force saving data disk bgsave or save.

please read redis persistence , persistence demystified understand how redis save data on disk , guarantees relevance of data have.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -