MongoDB for storing various log files (schemas)

Do you think that using the MongoDB Json database to store log files from an application is a good idea and why?

The only advantage for me is the abstraction of the schema, but I think it is also a weakness that we cannot ensure the integrity of the log file.

+3
source share
2 answers

Obviously I'm biased (I'm working on MongoDB), but I think it works very well for magazines.

Causes:

  • Fast for insertions and updates ... you can do thousands per second
  • , , JavaScript. cron, , MapReduce .
  • , , , N KBs/MBs/GBs

, " "... , , , ? , , .

: MongoDB.

+4

MongoDB , .

, Logging Application Behavior to MongoDB, Mongo SV MongoDB SF Meetup , , , Java, Python, Ruby, PHP #, MongoDB.

log4mongo-java, Log4J MongoDB. , , , , .

, , , . , , , log4mongo-java, , . , , .

, , . , , , .

+2

Source: https://habr.com/ru/post/1727585/


All Articles