riak in an existing otp application

Bruce Lowekamp bruce.lowekamp at skype.net
Thu Jul 8 13:11:15 EDT 2010


If you add riak_core and riak_kv to your app file, then use riak:local_client() to get a client handle, it should work fine.  Need to make sure all of the modules for riak and your app are available on your path, of course.

Bruce



On Jul 8, 2010, at 9:46 AM, Kenny Stone wrote:

> I'm looking for some guidance on embedding riak into my existing OTP applicatio and using the native erlang client.  I embedded webmachine a few months back and it was very simple - just looked at the start scripts and ported them to my scripts.  This doesn't look nearly so easy with riak.  Is this possible since riak isn't purely an erlang app?  Would you recommend the reverse - embedding my app inside of riak?
> 
> Thanks,
> 
> Kenny Stone
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





More information about the riak-users mailing list