Deploying riak with custom erlang map reduce functions
I am looking for guidance regarding the best way to package and deploy
a webmachine/riak application.
It has been recommended to develop webmachine apps seperate from riak.
In this case what is the best way to deploy custom map reduce
functions to riak? Is there an easy method to add custom erlang
functions to a riak deployment? Is it best to build a custom riak
release with the custom code included? Is there an easy method for
dynamcally adding erlang functions to a running riak cluster?
Re: Deploying riak with custom erlang map reduce functions
Although what Ben suggests is pretty neat, it's perfectly acceptable and recommended to add an application that contains your map-reduce functions to the release (maybe put it in the overlay directory so you can regenerate as needed). If you version your application as well, hot-upgrading it should be a snap.