CouchDB: Roll Your Own, Or Go With a Service? 54
Nerval's Lobster writes "Developer and editor Jeff Cogswell asks: When it comes to implementing a CouchDB installation, do you roll your own, or go with a service that provides a hosted version of the database? He takes a look at some of the technologies present in CouchDB that can greatly influence that decision. His conclusion? Like all things, it's a little complicated. 'If you're going to be self-hosting—unless you're working on a really small system—don't use the basic CouchDB for anything,' he writes. 'If you want scalability, either go with Couchbase or BigCouch, or wait until Cloudant's BigCouch merger into CouchDB is officially available.' But going with a host also creates its own things to watch for, including potential issues with replication and eventual consistency."
People need to use txt files more (Score:4, Funny)
And maybe a handful of Excel sheets, but only if you have lots of data.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
You fell in love with SQL? Most people just grudgingly cringe at it and get on with the job.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Its not bad for complicated single run things like reports, but for something like a web app, squeezing data in to a string and then the DB server pulling the data back out of the string just seems convoluted.
Re: (Score:2)
Man, who's writing the article synopsises (sp?) these days?
Lately they're assuming some fairly arcane things are common knowledge....
Re:couches (Score:4, Funny)
You my friend have reached the "golden age" in IT. I can tell so by your sub 1m UID. CouchDB is only arcane to old farts who no longer understand the things the younger crowd finds as "in"
We're from the days when MySQL was getting stored procedures, UDFs and views. That's all old hat. Now databases have Couches, and probably ottomans and coffee tables as well.
Embrace your golden years and die out quietly like the rest of us.... :)
Re: (Score:2)
Re: (Score:1)
Or you could see that it's an acronym for cluster of unreliable commodity hardware
Re: (Score:2)
Does this now call for the perfunctory "Get Off My Lawn" statement?
Re: (Score:2)
And Get Off My Lawn!
Re: (Score:2)
I must be extra old today, because I was thinking the same thing. This seems like the summary is being needlessly obtuse, a single short introductory line would have completely sufficed.
Whatever he does (Score:3)
Re: (Score:1)
Hosted is usually a bad idea (Score:2)
Unless the host you choose is within 5-10ms of your server network-wise you should always self-host.
An average site makes many queries per page to the database. The latency adds up fast. People often fail to understand this and end up with very slow sites and/or very frustrated developers.
Re: (Score:2)
Particularly bad case of Slashdotting (Score:2)
Re: (Score:2)
Maybe their using a hosted CouchDB? *ducks*
Re: (Score:3)
They're, obviously...
What? (Score:3)
Re: (Score:2, Funny)
It's a lot like /dev/null except that sometimes you might be able to get out from it some data that you put in.
Re: (Score:1)
Like /dev/null, it's web scale.
Couch as a service? (Score:2)
This could be a very compelling business model. Instead of producing physical goods like sofas and counches one could project them virtually using holograms and force fields. Couch service providers would be able to offer a wide array of couches virtually as a service. However I suspect if you fail to pay your bill on time your couch may become incresingly uncomfortable to sit in.
Re: (Score:2)
CaaS?
Re: (Score:2)
Seems like a product you'd expect from the Serius Cybernetics Corporation - maybe they'll ship them with Genuine People Personalities?
spoiler: https://en.wikipedia.org/wiki/Technology_in_The_Hitchhiker's_Guide_to_the_Galaxy [wikipedia.org]
Betteridge's law of headlines (Score:1)
No.
Couchbase!=Couchdb (Score:2)
Aside from the name and the founder, there is very little in common between CouchDB and Couchbase.
I'm pretty sure that Couchbase is initially being built around memcache.
Re: (Score:2)
It's getting there...
The people who made CouchDB bought NorthScale, the people who made Membase, which was an attempt to get memcached to automagically store all of its data in a backend database, so the lazy front-end devs would no longer have to worry about doing the whole "is it in memcache? get it from memcache : get it from DB and put it in memcache" logic.
Couchbase 1.8 was still using SQLite as its backend database. But starting from Couchbase 2.0 they managed to start using CouchDB as the backend, w
Isn't CouchDB supposed to be in your living room? (Score:2)
If whatever you're building is large enough that you think you're unable to host your own small NoSQL database, is it time to reconsider using a small NoSQL database?