embedding riak_core into RabbitMQ

Jon Brisbin jon at jbrisbin.com
Tue May 24 09:04:59 EDT 2011


----- Original Message -----

> From: "Ryan Zezeski" <rzezeski at basho.com>
> To: "Jon Brisbin" <jon at jbrisbin.com>
> Cc: "riak-users Users" <riak-users at lists.basho.com>
> Sent: Monday, May 23, 2011 12:47:09 PM
> Subject: Re: embedding riak_core into RabbitMQ

> Jon,

> Sounds like a neat project. Out of curiosity, what use cases do you
> imagine for something like this?
We already have RabbitMQ integration with a riak_core application where vnodes are called in response to messages. This embedding would simply be an extension of that. 

> 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?
I thought it would be okay. 

It says: *WARNING* Undefined function riak_err_handler:limited_fmt/4 

jb 

> -Ryan

> 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/20110524/c273f254/attachment.html>


More information about the riak-users mailing list