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 :
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.
we're using 40mb
we're using 40mb
For this scale and period, the memory size seems very reasonable. Thanks for this great project @julian
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
I would love to hear perspectives on the pros and cons of banning vs deleting spam accounts.
As a newbie, I am confused on this subject.
Hi, while you're welcome to post here, this is not a general forum for Node. It's the community forum for NodeBB, a Node.js based forum software.
You'll probably have better luck with your question on StackOverflow or Reddit.
@PitaJ is correct. The database query is asynchronous, so you will need to use a callback:
Thanks for your help !
I have read this post. Both of you are right.
@Silvina We can do this for you for a small fee, please get in touch with us at [email protected]