embedding riak_core into RabbitMQ

Ryan Zezeski rzezeski at basho.com
Mon May 23 13:47:09 EDT 2011


Sounds like a neat project.  Out of curiosity, what use cases do you imagine
for something like this?

In regards to riak_err you shouldn't have any troubles leaving it out.  It's
purpose is to protect your VM from OOM issues related to error logging.
 What's the warning you see?


On Thu, May 19, 2011 at 2:49 PM, Jon Brisbin <jon at jbrisbin.com> wrote:

> I've mentioned this a couple places, but I'm toying with embedding
> riak_core into RabbitMQ as a plugin. I already have a consumer that invokes
> vnodes but I'm wondering (in code) whether or not it would be more efficient
> to implement this behaviour as a custom exchange. This is also an exercise
> for my Erlang Factory presentation.
> To that end, I've got riak_core running as a plugin with a special script I
> call from my Makefile to patch the riak_core distro so it will go into
> RabbitMQ's VM without complaining about extra .beam files (for things
> already inside RabbitMQ).
> I'm getting a couple warnings related to cluster_info and riak_err not
> being available. I've included cluster_info to get rid of that warning, but
> I'm not sure I want to include riak_err because it seems to put my logging
> output back into the console (I run my RabbitMQ broker in a terminal so I
> can get an Erlang shell with it). It makes a mess in my terminal window, so
> I'm considering leaving that out of my plugins directory.
> Will leaving riak_err out cause problems with riak_core? Other than this,
> riak_core was relatively easy to embed.
> Thanks!
> Jon Brisbin
> http://jbrisbin.com
> Twitter: @j_brisbin
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110523/2fa2e6aa/attachment.html>

More information about the riak-users mailing list