Re: calculate the data storage amount

2012-11-27 Thread Venki Yedidha
Thanks Mark, Now when I performed du -h on the eleveldb directory in my local: It showed me some thing like: 4.9M./1370157784997721485815954530671515330927436759040 2.7M./776422744832042175295707567380525354192214163456 2.7M./525227150915793236229449236757414210188850757632 2.7M

Announcing a new PHP client

2012-11-27 Thread Mark Steele
Hi folks, I've finally gotten around to writing up a PB client for PHP. The URL: https://github.com/marksteele/riak-php Background: http://www.control-alt-del.org/2011/09/06/building-a-better-riak-client-for-php/ It's a full implementation supporting all the features of 1.2.1 that are exposed vi

Re: riak on SSDs - how to manage potential SSD failures

2012-11-27 Thread Matthew Von-Maszewski
Alex, Your question is outside my knowledge space. I had to ask around. This is the message that came back: You can grab _ALL_ stats for a node over HTTP at HOST:PORT/stats. This gets you a big JSON blob of all stats. The stat in question is in the JSON with key 'leveldb_read_block_error', t

Re: A bunch of Erlang client questions

2012-11-27 Thread Bryan Fink
On Tue, Nov 27, 2012 at 11:41 AM, Alex Rønne Petersen wrote: >> In short, the proper way to replace an object is to first fetch the >> existing object, then update the value of what you fetched, then use >> riakc_pb_socket:put to write the new value. The reason for doing this >> is to comply with

Re: riak on SSDs - how to manage potential SSD failures

2012-11-27 Thread Alex Babkin
Thank you for quick response Matt So you are saying that i will have facilities in Riak 1.3 to handle these errors in application layer? automatically by riak? Alex On Mon, Nov 26, 2012 at 2:09 PM, Matthew Von-Maszewski wrote: > Alex, > > The eleveldb backend creates a CRC for every item place

Re: Gem versions?

2012-11-27 Thread Martin Streicher
My rspec tests pass with version 1.0.0.beta. And the code seems to work. I am talking to my colleague to see what was tried yesterday. On Nov 27, 2012, at 12:59 PM, Martin Streicher wrote: > > Version of bundler was 1.1.5. > > On Nov 27, 2012, at 12:55 PM, Martin Streicher wrote: > >> >

Re: Gem versions?

2012-11-27 Thread Martin Streicher
Version of bundler was 1.1.5. On Nov 27, 2012, at 12:55 PM, Martin Streicher wrote: > > Will do. > > The lines look like this... > > gem 'riak-sessions', '1.0.0.beta2' > gem 'ripple', '1.0.0.beta2' > > I need to get my colleague's version of bundler. > > > On Nov 27, 2012, at 12:48 PM, C

Re: Gem versions?

2012-11-27 Thread Martin Streicher
Will do. The lines look like this... gem 'riak-sessions', '1.0.0.beta2' gem 'ripple', '1.0.0.beta2' I need to get my colleague's version of bundler. On Nov 27, 2012, at 12:48 PM, Christopher Meiklejohn wrote: > Hi Martin, > > It appears we got off list, so I'm going to continue this there

Fw: Gem versions?

2012-11-27 Thread Christopher Meiklejohn
Hi Martin, It appears we got off list, so I'm going to continue this there. Can you please provide the version of bundler you are using and the lines from your Gemfile for both of these gems? One thing I'm noticing right now is that you have a dependency on riak-sessions 1.0.0.beta2, and the

Re: A bunch of Erlang client questions

2012-11-27 Thread Alex Rønne Petersen
Hi Bryan, Thanks for the answers! A few more questions inline: On Tue, Nov 27, 2012 at 2:16 PM, Bryan Fink wrote: > Hi, Alex. I'm sorry you weren't able to find your answers in our docs. > Some of them assume that you've read all of the other docs as well. > I'll see what I can do to clear thing

Re: A bunch of Erlang client questions

2012-11-27 Thread Bryan Fink
Hi, Alex. I'm sorry you weren't able to find your answers in our docs. Some of them assume that you've read all of the other docs as well. I'll see what I can do to clear things up inline. On Mon, Nov 26, 2012 at 7:23 PM, Alex Rønne Petersen wrote: > * Is the proper way to replace the object asso