1. 程式人生 > >Mongodb 與redis 同時在一個機器上 (MongoDB with redis)

Mongodb 與redis 同時在一個機器上 (MongoDB with redis)

Please note you should never run a Redis and MongoDB server on the same machine. MongoDB memory is designed to be swapped out, Redis is not. If MongoDB triggers some swapping activity, the performance of Redis will be catastrophic. They should be isolated on different nodes.

不要將mongodb於redis同時放在一個機器上。

Redis and MongoDB can be used together with good results. A company well-known for running MongoDB and Redis (along with MySQL and Sphinx) is Craiglist. 

但將兩者結合起來使用是有效的。