incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <jch...@mfdz.com>
Subject Re: PUT / POST tradeoffs
Date Mon, 14 Apr 2008 20:36:27 GMT
On Mon, Apr 14, 2008 at 1:27 PM, Brian Smith <brian@briansmith.org> wrote:
>
>  PUT is almost always better than POST; if you experience network
>  failures, you can retry the PUT without any ill effects. If you use
>  POST, and your experience a network partition before you get the
>  response, how will you determine whether or not the POST succeeded? See
>  "Post Once Exactly" (http://www.mnot.net/blog/2005/03/21/poe), HTTPLR
>  (http://dehora.net/doc/httplr/draft-httplr-01.html), and their related
>  discussions.

Thanks Brian - I think I meant PUT... I've been using the batch POST
(which acts like PUT if you specify the document_id) so I spoke a
little fuzzily. And that's an extremely clear rational for PUT.

Chris

-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message