Live data from Hacker News

Redis vs. Mongo DB – The battle of the NoSQL databases continues

blog.panoply.io

11–20 of 21 posts

Re: Redis vs. Mongo DB – The battle of the NoSQL databases continues

#14

I thought Redis was a cache, not a database.

What is a cache vs a database? You can use mysql as a cache. Most people would call it a database. Really this article is dumb. I think almost never would you need to choose redis vs mongo. Redis is a weird and hard to describe product. For example you can use it as a queue over rabbitmq with celery. Or a cache with all kinds of things. But it does more. And an empty instance runs in like 3mb of ram and handles thous…

A database is ACID, and here is a good analysis: https://dzone.com/articles/how-acid-mongodb

Re: Redis vs. Mongo DB – The battle of the NoSQL databases continues

#15

At my last company, we used redis both for celery as a queue, and a cache for values we needed to call often and retrieve quickly. We ALSO used Mongo, but moreso as a store for larger documents that were called less frequently. I think it's not fair to compare them directly together, they are each useful in their own specific cases.

Mongo has a document size limit of 16MB, so 'larger documents' need to be qualified :).

Re: Redis vs. Mongo DB – The battle of the NoSQL databases continues

#17
post #14

Earlier quoted context omitted.

What is a cache vs a database? You can use mysql as a cache. Most people would call it a database. Really this article is dumb. I think almost never would you need to choose redis vs mongo. Redis is a weird and hard to describe product. For example you can use it as a queue over rabbitmq with celery. Or a cache with all kinds of things. But it does more. And an empty instance runs in like 3mb of ram and handles thous…

A database is ACID, and here is a good analysis: https://dzone.com/articles/how-acid-mongodb

I strongly disagree, NoSQL databases are almost never ACID but they are almost always a database in how the term is used.

Re: Redis vs. Mongo DB – The battle of the NoSQL databases continues

#18
post #14

Earlier quoted context omitted.

A database is ACID, and here is a good analysis: https://dzone.com/articles/how-acid-mongodb

I strongly disagree, NoSQL databases are almost never ACID but they are almost always a database in how the term is used.

You can store data in it sure.

You can store data in text files too.

Re: Redis vs. Mongo DB – The battle of the NoSQL databases continues

#20
post #11

Redis vs. MongoDB, seriously? Up next: choosing to die via hornets or scorpions.

Why do you hate redis?

Redis is great when used as a persistent cache for short-lived + no value data, or data that can be reproduced from another source. If your data, or queued items, have value then find a better tool.

But if you're foolish enough to use it as a database... lol.

Post reply on HN