If you find a way to generate keys in this way, I'd also suggest that
you provide the "If-None-Match: *" HTTP header on your PUTs in order
to detect the usage of duplicate keys.

I'm not sure if there is something similar in the protobuffs interface.

-matt


On Tue, Mar 22, 2011 at 9:41 AM, Alexander Sicular <[email protected]> wrote:
> No there is not. Riak does not expose any data structures and is generally
> opaque to values.
>
> Check out redis or what Twitter is doing with Cassandra re. distributed
> counters.
>
>
> @siculars on twitter
> http://siculars.posterous.com
>
> Sent from my iPhone
>
> On Mar 22, 2011, at 2:37, Wilson Tuladhar <[email protected]> wrote:
>
>> hi,
>>
>> I was wondering if there is some functionality to define the key such that
>> it is auto-incremented during the insert process.
>> If not, what may be the elegant solution to achieve this??
>>
>> //Wilson
>> _______________________________________________
>> riak-users mailing list
>> [email protected]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to