3 ms·
I'm not an expert on CouchDB (and I would love someone to correct where my approach is wrong). I could see having a CouchDB cluster per co-location, recording
by mey 15y ago
I'm not an expert on CouchDB (and I would love someone to correct where my approach is wrong).
I could see having a CouchDB cluster per co-location, recording a document per logging event. Then back haul through replication to a central service for analysis/dashboard use.
The only tricky part I see is to delete old logging data requires a compaction period and according to http://wiki.apache.org/couchdb/Compaction http://wiki.apache.org/couchdb/Compaction it's entirely possible for the compaction process to be slower then write data and never actually finish.
Edit: Also the back end server doing analysis may need to be a BigCouch cluster to handle the load (depending on size) https://github.com/cloudant/bigcouch https://github.com/cloudant/bigcouch