4 ms·
One example is logs. People have logs, and lots of them. They're usually semi-structured (hopefully there is at least a timestamp and topic and severity in ea
by jzwinck 13y ago
One example is logs. People have logs, and lots of them. They're usually semi-structured (hopefully there is at least a timestamp and topic and severity in each record). You can put them in MongoDB, and relations are probably not a big concern.
- digitalzombie 13y agoElasticsearch or Solr would be better than Mongodb for Logs. Hell if you actually care about your log and want to search it use Solr or Elasticsearch NOT Mongodb. If you want to store even more data just use Cassandra and index it with Solr or Elasticsearch. Cassandra have faster write than read, it's perfect for logs. You can decentralize logging system too, there are architecture layout out there with elasticsearch and such (example: https://medium.com/what-i-learned-building/e855bc08975d https://medium.com/what-i-learned-building/e855bc08975d). MongoDB is a poor choice, in general for anything in my personal opinion.