P
P
p4s8x2015-02-09 03:29:38
MongoDB
p4s8x, 2015-02-09 03:29:38

Redis, Mongo under virtualization (openvz). Are there performance issues?

Some articles do not recommend running redis and mongodb under virtualization. I want to understand - what are the real problems?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Puma Thailand, 2015-02-09
@p4s8x

there are no problems with openvz for radish and rails, there was some kind of frame with mongo, but it gave a warning about it, but I think it has already been fixed.

@
@mgyk, 2015-02-09
_

There are problems with openvz since what you think is RAM may actually be swap. If the hoster allocates memory as expected, then there will not be much difference from the type of virtualization.

V
Vlad Zhivotnev, 2015-02-09
@inkvizitor68sl

Depends on the host.
If the hoster uses the current version of openvz with correctly configured and used vswap (when the limit is set only on the number of ram / swap pages, and not on any twists) - then everything is fine.
If the hoster limits something other than pages, it's a disaster.
That is, in the config should be set:
PHYSPAGES="65536:65536"
SWAPPAGES="65536"
(it's 256 mb, or something)
And everything else that is rattled by -i mem should be set to unlimited.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question