Mongodb and Redis on the same server

1

I am planning a system that uses Mongodb for reading data and Redis for session sharing between PHP and Nodejs. Is it a problem to have both Redis and Mongodb running on the same server, since both store data in memory?

    
asked by anonymous 04.12.2014 / 00:44

1 answer

2

I think there is no problem at all. Just leave their door different (by default it is already). I do not know if I am right, but Mongodb does not store in memory, Memcached and Redis stores. The mongo can do some operations and store in memory for a while to speed up but it has a file that is its database.

    
04.12.2014 / 04:20