Redis is a NOSQL key/value database, which reads the entire life within RAM (and thus is quite fast). To me, an array (e.g., in PHP) does the same, as an array is a set of key/value. The main difference of a database is that indexed values will be called individually without reading the entire database.
Now when Redis read the entire database (into RAM), how it is different from an array of key/value?
1 Answer