Hello Vitaly,

I use Erlang client and riak 2.1.1.
It works, but very slow comparing to insertion of multiple values.

Best regards,
Eugene

2016-01-13 14:09 GMT+01:00 Vitaly E <13vitam...@gmail.com>:

> Hi Eugene,
>
> Which client are you using? Which Riak version?
> In the Java client it is possible to send an update without fetching a
> CRDT first.
>
> For example:
>
> MapUpdate changes = new MapUpdate()
>         .update(ARTIFACT, new RegisterUpdate(artifact))
>         .update(VERSIONS, new SetUpdate().add(version));
> UpdateMap update = new UpdateMap.Builder(location, changes).build();
> client.execute(update);
>
> Also, take into account that there is a practical limitation of the size
> of a CRDT. Usually it's up to 100-200 KB of raw data.
>
> Regards,
> Vitaly
>
> On Wed, Jan 13, 2016 at 2:54 PM, Eugene Shubin <ev.sh...@gmail.com> wrote:
>
>> With CRDT it's not possible to append a value to map or set without
>> fetching previous values.
>>
>> Is that a normal use case for CRDT, I am asking because insertion time is
>> terribly high.
>>
>> Best regards,
>> Eugene Shubin
>>
>> _______________________________________________
>> riak-users mailing list
>> riak-users@lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to