5 ms·
After a few months dealing with a system that's built on Mongo ad the data store, I've come to the conclusion that MongoDB only use cases are: 1. A persistent
by boomzilla 13y ago
After a few months dealing with a system that's built on Mongo ad the data store, I've come to the conclusion that MongoDB only use cases are:
1. A persistent cache, or a compute-ahead read-only data store.
2. A write-only store for high volume but non-critical data, such as comments, log events, etc.
MongoDB should never be the primary source of truth data store. Nothing can replace a relational DB for that purpose, yet.
- vinceguidry 13y ago> 1. A persistent cache, or a compute-ahead read-only data store. Even then, you're probably better off with Redis or memcached. > 2. A write-only store for high volume but non-critical data, such as comments, log events, etc. Just write to disk. It's very hard to beat flat file text for this use case and most of the time it's not worth it.
- bsg75 13y ago> compute-ahead read-only data store Definition? As in pre-aggregated data, i.e. materialized views or summary tables?