#1 2020-02-12 11:49:45

radexpol
Member
From: Poland, Krk
Registered: 2019-11-29
Posts: 116

Failover server : Store objects in MongoDB

I need advice on how to implement this scenario: I have an application server that stores a lot of information, e.g. logged in users (with their statuses, sessions), conversation history between them, daily statistical data, etc. In case of server failure, I lose everything after server restart. I have an idea to move all objects to the MongoDB database and instead of storing in local objects, store in the database and in case of failure after restarting the server (or switching to another server) the data is just still available from the MongoDB database. The question is whether this is a good way and whether mongoDB is an effective enough base to integrate with it so much. This is a revolutionary decision so I must be sure this is a good way.

Offline

Board footer

Powered by FluxBB