Oh, thanks a lot for your helping. 🙂
Redis vs MongoDB
-
Hi,
I would like to know the difference between this two data strorage.
There are limit , which you suggest to use?
Thanks!
-
Redis stores all data in RAM, MongoDB uses disk.
If you are not worried about running out of ram use Redis as it is faster.
Some comparisons :
-
Many thanks!!
-
So am I to understand that MongoDB is good if we have lesser RAM ?
-
@meetdilip Yes, but page loads will be slower.
-
@baris What about LevelDB? Which is better for NoddeBB Redis or LevelDB?
-
Redis is better supported than LevelDB right now, some of the LevelDB functionality isn't implemented so I wouldn't use LevelDB yet.
-
How much RAM do we need for Redis of nodeBB, say, for instance, a very active forum such as this nodeBB community forum?
-
@Ken-OKABE Keep in mind memory usage goes up the longer the forum is around, since post data is kept in-memory as well.
This forum's been around for about a year -- we're using 40mb.
-
-
sorry for necroposting, i've done my research, i would prefer mongoDB since it's just on the disk side, and not taking much memory like Redis. Memory issues are hard to deal with and messes up your whole server