There are 2 Riak API's for Erlang: native and protobuffs. Protocol Buffers API is better if you're going to connect to remote nodes as its data format is very compact. Native API is a bit more convenient for me so I prefer it if not working with remote nodes.
As for tests, you can pre-create a ETS-based bucket (you can either set its properties in the app.config file or manually from Erlang) and run some test operations on it upon Riak client start. So, there's no need in an additional instance as your buckets can use different storages. On Fri, Aug 27, 2010 at 12:47 PM, Dmitry Vasiliev <[email protected]> wrote: > Hi all, > > I'm start to use Riak in one of my Erlang based projects and looking for a > ways to automatic test my application with Riak. Is there an easy way to > start/stop some lightweight Riak instance (for example with ets backend) in > tests or I need to emulate Riak's client API myself? > > -- > Dmitry Vasiliev <dima at hlabs.org> > http://hlabs.org > http://twitter.com/hdima > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > -- Best regards, Dmitry Demeshchuk _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
