4 ms·
I love Couch and I feel totally relaxed. What are people building with it? A spiffy log package was the first thing I thought of and indeed that's one idea lis
by drhayes9 10y ago
I love Couch and I feel totally relaxed. What are people building with it?
A spiffy log package was the first thing I thought of and indeed that's one idea listed on this page: http://docs.couchdb.org/en/2.0.0/intro/why.html http://docs.couchdb.org/en/2.0.0/intro/why.html
But I think the "logging" case is hard to argue vs. "manually" grepping (or ag-ing using the silver searcher) over in-place log files and aggregating/rendering dashboards via static files.
- WorldMaker 10y agoNot using Couch directly at the moment, but have several projects I'm working on that are using Pouch as an easy to sync, offline-first data store. (These are largely targeting Cordova/Electron.)
- teddyc 10y agoI used it to store user-uploaded images in a photo contest website years ago. It was a happy medium between storing images directly on the filesystem or as a blob/binary in a relational database. The image requests were AJAX, so I could include the clients screen dimension in the request. My app would resize on the fly if necessary, store resized image to CouchDB, and redirect the image request to CouchDB, which was publicly readable. Another good use case I had was for JSONP request for an auto-complete input field on a webpage. Again, the database was publicly readable. I have also used it to aggregate data for graphs. The data changed daily, so the ability to cache the results of a view until the data changed was nice. But the first request of data each day still took a while. I don't think I got a performance boost in this case, but I did get free caching. All my other uses of CouchDB were mostly for fun and could've been implemented in traditional SQL.