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?
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?
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.