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 <[email protected]> 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
> [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