Re:Let’s learn Erlang and fix a bug on a CouchDB Cluster
by mikegioia on Thursday July 30, 2015 @01:32AM
(#9973299)
We use it in production, and we're slowly migrating some data out of SQL into CouchDB. It's very stable, operates over an HTTP API, and the 2.0 release will have better clustering/sharding built in. We don't use the views or JS at all, just as a document store.
Re:Let’s learn Erlang and fix a bug on a CouchDB Cluster
by 616c on Thursday July 30, 2015 @04:28AM
(#9973725)
Very cool. As much as fun as the hype or hating is, I like to hear from frontline people how it goes.
Will have to invest some time in it sooner rather than later!
Re:Let’s learn Erlang and fix a bug on a CouchDB Cluster
by sravfeyn on Thursday July 30, 2015 @07:34AM
(#9974269)
We use it in production and it's open-source https://github.com/dimagi/commcare-hq
Re:Let’s learn Erlang and fix a bug on a CouchDB Cluster
by 616c on Thursday July 30, 2015 @11:59AM
(#9975877)
I skimmed your work and starred the project on Github. Will definitely come back to this later.
Re:Let’s learn Erlang and fix a bug on a CouchDB Cluster
by zarkone on Thursday July 30, 2015 @01:31AM
(#9973296)
Yes, i've tried to use Clojure, JS and native(erlang) view servers. Native view fns are significantly faster
Re:Let’s learn Erlang and fix a bug on a CouchDB Cluster
by rubiquity on Thursday July 30, 2015 @12:11PM
(#9975962)
CouchDB is a great database. It unfairly got a bad rap for performance/scaling due to the client libraries (I know Ruby for sure) being written so poorly. I've used it on a few projects with great success. I'm hoping I can try out clustering features in 2.0 sometime soon.
Re:Let’s learn Erlang and fix a bug on a CouchDB Cluster
by emptyflask on Thursday July 30, 2015 @12:32PM
(#9976112)
We use it in production, but are migrating away from it for some projects since that data is better suited for a relational DB. Some developers were too quick to jump onto the NoSQL bandwagon a few years ago.
For certain uses it's great, once you've wrapped your head around writing map/reduce views. It really shines when you need to provide a read-heavy JSON backend.
I've never written views in Erlang (actually, I've opted for higher abstraction and used Coffeescript), but now that I have a little functional programming experience with Haskell, I'd like to try it out.
Re:Let’s learn Erlang and fix a bug on a CouchDB Cluster
by rdtsc on Thursday July 30, 2015 @12:11PM
(#9975964)
Use and love it. I don't know of any other databases that handle master-master replication so nicely. Few handle crash-only design as well (that is using append-only files such that a hard crash will not corrupt the data).
And BTW IBM/Cloudant is supporting a lot of development of CouchDB and 2.0 will be even more awesome -- clustering, MongoDB-like query language, a new and even better web viewer/console and many other goodies.
I know the downsides have been oft-repeated here, but does anyone use it? Also do people here use it without JS, and use like pure Erlang-driven views? It sounds super powerful that way.
https://wiki.apache.org/couchdb/EnableErlangViews