Alex,
RabbitMQ which is a good high performer, developed in Erlang and scales
just as Riak.
The old saying, the right tool for the right job, I like how fast Riak
is fetching/storing key values on a distributed environment, I don't
like Riak for queues, is it because it wasn't designed for that? CRDT
like CAS operations on structures (to mention some for Java) like
LinkedBlockingQueue and ConcurrentLinkedQueue should be painful enough
to develop in a CRDT environment, cause now you would be talking of
guarding states of few within the same structure; say AtomicReference of
several variables to warranty a non-blocking CAS operation, in this case
heap and tail of the queue (Not so true for LinkedBlockingQueue)
And performance of several CRDT for high performance queue I don't
actually think is going to be good.
If I were to use Riak for my big data environment and would like to
match Riak on a distributed queueing system then I would use like I
said, RabbitMQ.
Guido.
On 12/09/13 00:29, Alex Rice wrote:
Hi I'm very new to Riak. The allow_mult = true / Siblings feature is
very interesting. Could it be used to implement a high performance
collection like a Queue or Set, in a lock free manner? The Riak docs
make it sound like allow_mult is mainly for confict resolution and
degenerate cases, rather than a feature which a data structure could
be designed around. Does anyone have any links to share, or thoughts
about this broader issue?
Thanks much!
Alex
_______________________________________________
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