On Thu, Jun 30, 2011 at 00:35, Benoit Chesneau <bchesn...@gmail.com> wrote:
> On Thu, Jun 30, 2011 at 3:08 AM, Dale Harvey <d...@arandomurl.com> wrote:
>> CouchDB generates uuid's that attempts to minimise the amount of rebalancing
>> that needs to happen on insert, however thats only an optimization I would
>> worry about if you are under fairly severe load.
>>
>> If your application has natural id's then I would use them, if not then I
>> think its fine to use POST as long as you aware of the idempotent issue
>>
> Other way is to get a bunch of uuids from couch and using them in your
> PUT, so you don't have to generate yourself uuids. (and you have best
> of both world).
>
> - benoƮt
>

Benoitc is referring to GET /_uuids (optionally with ?count=X).

Reply via email to