Huh? It is for the container to hand each client a different ID. I think you
have the assumptions that IDs must be in unbroken numbered sequence. Seldom
is that a requirement.

-- Niclas

On 24 Dec 2009 18:57, "Ben R Vesco" <[email protected]> wrote:

The client using a GET request to find an id to use for a PUT would
have all the problems of non-atomic operations (since it can't
possibly be atomic). What if two clients both call GET at the same
time to get the *next* id to insert? What if N clients call GET to get
the next id to insert but never do the PUT? PUT to a specific id is
really only truly useful when the id is deterministic.

On Tue, Dec 22, 2009 at 8:33 PM, Niclas Hedhman <[email protected]> wrote:
> On Wed, Dec 23, 2009...
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2432842

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2433042

Reply via email to