incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Smith <...@iriscouch.com>
Subject Re: Are server-generated doc IDs better?
Date Thu, 30 Jun 2011 05:16:23 GMT
On Thu, Jun 30, 2011 at 8:08 AM, Dale Harvey <dale@arandomurl.com> wrote:
> I
> think its fine to use POST as long as you aware of the idempotent issue

IMHO:

PUT is more informative in client logs
PUT is more informative in server logs
PUT is harder to screw up, because you front-load the hard part:
getting some ids

And related:

Really, it is prudent never to oversell your hardware to Couch. It is
more, you might say "sustainable," to know that disk capacity and
bandwidth can support rebalancing (compacting) under typical or
worst-case loads. Among other benefits, it removes the leaky
abstraction where CouchDB seems to have an opinion about your doc ids.

-- 
Iris Couch

Mime
View raw message