Re: Test Riak client

2010-08-27 Thread Sean Cribbs
> > I use native API myself. But is the difference between Protocol Buffers > format and Erlang's External Term format so huge that you can see it in real > world applications? I hardly believe so. The primary difference is that you don't need all of the extra node/process discovery stuff tha

Re: Test Riak client

2010-08-27 Thread Dmitry Vasiliev
27.08.2010 14:00, Dmitry Vasiliev пишет: 27.08.2010 13:29, russell.brown пишет: Have a look at http://gist.github.com/404645 from Cliif Moon for starting Riak for tests. Thank you! That looks exactly what I want. Ugh, it seems the recipe is little bit outdated. In my test setup Riak require

Re: Test Riak client

2010-08-27 Thread Dmitry Vasiliev
27.08.2010 13:29, russell.brown пишет: Have a look at http://gist.github.com/404645 from Cliif Moon for starting Riak for tests. Thank you! That looks exactly what I want. -- Dmitry Vasiliev http://hlabs.org http://twitter.com/hdima ___ riak-users

Re: Test Riak client

2010-08-27 Thread Dmitry Vasiliev
27.08.2010 12:52, Dmitry Demeshchuk пишет: On Fri, Aug 27, 2010 at 12:47 PM, Dmitry Vasiliev 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 insta

Re: Test Riak client

2010-08-27 Thread russell.brown
Have a look at http://gist.github.com/404645 from Cliif Moon for starting Riak for tests.CheersRussellOn 27 Aug, 2010,at 09:47 AM, Dmitry Vasiliev 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

Re: Test Riak client

2010-08-27 Thread Dmitry Demeshchuk
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 ET

Test Riak client

2010-08-27 Thread Dmitry Vasiliev
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? -- Dmit