News for hackers. Stuff that matters.
Re:Comparing Mongo DB and Couch DB by mark242 on Wednesday August 10, 2011 @04:05PM (#2869926)
You don't need to worry about the versioning for a document that you never update. You can just blast the logfiles into the database and not worry about conflicts. Similarly, database compaction is really the biggest concern when you're updating documents, not just dumping new ones into the database. I would expect a very linear growth for a logging app.
Re:Comparing Mongo DB and Couch DB by tilgovi on Wednesday August 10, 2011 @05:49PM (#2870369)
The problem doesn't come with the inserts, it comes with the deletes, where CouchDB will keep some metadata and stubs around to support its replication use cases. In a pure logging setup this is perhaps less than ideal.
Re:Comparing Mongo DB and Couch DB by buster on Wednesday August 10, 2011 @04:49PM (#2870128)
ok, my initial thought was one document per logfile, containing an increasing amount of loglines, but that's probably the worst approach possible. One document per logline which is appended to the database should be much better.