Running MongoDB
MongoDB rewards memory and fast storage, and punishes a casual backup. On bare metal you control all three, which is most of the battle.
Memory and storage first
The working set wants to live in RAM; when it spills to disk, latency climbs. Give it enough memory for the hot data and fast storage underneath — see high-memory servers. Flash is the right default for anything latency-sensitive.
Replica sets for availability
A replica set keeps copies on separate machines and promotes one if the primary dies. Spread the members so a single host or rack does not take a majority — the principle is the same as any high-availability design.
Back it up properly
Snapshots of a running database can be inconsistent unless taken correctly. Use a consistent backup method and test the restore — database backups covers the pitfalls. A replica is not a backup; it copies a bad write instantly.
Still stuck? Mail support@novogara.com — an engineer answers, at any hour. Back to the knowledge base