Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Why not? Worth it, it was designed for this. =)
And if the data storage model does not suit you, then alas.
It has one drawback (and an advantage at the same time, at least it used to be the main drawback) it stores a lot of things in memory, and if the memory runs out, it will silently simply not write anything there (this mainly applies to keys), on the other hand if there is a lot of memory, then it works fast =)
Hm. Costs. And even very much. If production is understood as a set of dedicated servers, and not one piece of iron in someone else's DC.
The disadvantage is not so much that it uses memory (which is logical), but that it cannot be given limits on its use. If it ends - rarely selected collections will be forced out, everything is clear here, but if you want to run something else on a server loaded with a large mongo database - you will hardly succeed
For mongo, you need to allocate separate servers. If something else is spinning on them, then this something may at one fine moment not have enough memory that mongo will take. Services that only take memory at startup and no longer ask for it may well live on the same server, you just need to make sure that a lot is started last.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question