Just looking for what people see as the main differences when choosing between the two.
Just looking for what people see as the main differences when choosing between the
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Data model
MongoDB
Document oriented, JSON-like. Each document has unique key within a collection. Documents are heterogenous.
Redis
Key-value, values are:
After Wikipedia.
Storage
MongoDB
Disk, memory-mapped files, index should fit in RAM.
Redis
Typically in-memory.
Querying
MongoDB
By key, by any value in document (indexing possible), Map/Reduce.
Redis
By key.