I have not used Redis yet, but I heard about it and plan to try it as cache storing.
I heard Redis using memory as cache store database, so what's the difference if I use a variable as an object or dictionary datatype to store data? like:
var cache = {
key: {
},
key: {
}
...
}
What's the advantage Redis have?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…