Alright, so when creating your own coordinators, it's probably best to
use the supervisor until you see it as a bottleneck. Correct?
On 12/12/2012 13:36, Russell Brown wrote:
On 12 Dec 2012, at 19:20, David Fox <da...@davidjfox.com> wrote:
Hey everyone,
I'm currently using riak_kv as a reference of how to implement riak_core and
see that whenever a new coordinator process is needed, a new one is created via
their supervisor. But in the case of the get and put coordinators, the
supervisor is not used.
Besides eliminating the supervisor as a potential bottleneck, is there any
reason why the supervisor is not used?
AFAIK it is only that (eliminating a potential bottleneck.) It is an
optimisation added to the kv code in the last few weeks.
Cheers
Russell
https://github.com/basho/riak_kv/blob/master/src/riak_client.erl#L80
_______________________________________________
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