Redis concept: In memory or DB?
redis
Solution
depending on how you configure it, redis can periodically back up the existing state to disk, but otherwise, everything is in memory.
Problem
Based on the http://redis.io/topics/faq Redis is an in-memory but persistent on disk database. So may I know redis save key/value in memory or in disk? or both? When writing value in Redis, it write into memory and disk at the same time? Thanks for the concept.