Hardware recommendations?

2014-08-17 Thread Anton Khalikov
Hello there As our Riak CS cluster grows, we went through several performance problems which caused me to think we went a wrong way with planning our hardware nodes configuration probably. If we want to have an s3 cluster with 30-40 Tb capacity, 50-100 millions of keys (files) stored on few

Re: Python: More problems with counters

2014-08-17 Thread Eric Redmond
"Bucket type" is shared metadata across a set of buckets. That metadata needn't necessarily define a datatype. In fact, there are many cases where you might not. For example, you would use a bucket type for strong consistency, or associating a search index with many buckets. In other words: bu

Re: Python library: Error with counters

2014-08-17 Thread Alex De la rosa
Hi Sean, Yes, after a long time I have it all worked as expected :) thanks Alex On Sun, Aug 17, 2014 at 9:16 PM, Sean Cribbs wrote: > Glad you figured it out, Alex. I'll make a note to update the README > about external packages that may be necessary. > > On Sun, Aug 17, 2014 at 12:23 PM, Ale

Re: Python library: Error with counters

2014-08-17 Thread Sean Cribbs
Glad you figured it out, Alex. I'll make a note to update the README about external packages that may be necessary. On Sun, Aug 17, 2014 at 12:23 PM, Alex De la rosa wrote: > Murphy's law... as soon as I post it, as soon as I found why it failed... I > was missing the following libraries on my Ub

Re: Python: More problems with counters

2014-08-17 Thread Alex De la rosa
Hi Eric! Thank you very much! this certainly solved it! :) however, I have to say that is very non intuitive as "bucket_type" would look like the data type (counter, set, map) and the "bucket" part the name of the bucket you created... so it looks as it should work exactly the contrary as how it h

Re: Python: More problems with counters

2014-08-17 Thread Eric Redmond
Alex, looking through your previous emails, it looked like you created a bucket type named "likes". If that's the case, you'd swap the function params: bucket = client.bucket_type('likes').bucket('counter_bucket') Hope that helps, Eric On Aug 17, 2014, at 10:33 AM, Alex De la rosa wrote: >

Python: More problems with counters

2014-08-17 Thread Alex De la rosa
Hi there, I was able to install the latest python client version with "pip install riak==2.1.0rc1", however, counters still fails to work... I used the following code ( that is the same as in the documentation ): bucket = client.bucket_type('counter_bucket').bucket('likes') however I get the fol

Re: Python library: Error with counters

2014-08-17 Thread Alex De la rosa
Murphy's law... as soon as I post it, as soon as I found why it failed... I was missing the following libraries on my Ubuntu Server: aptitude install build-essential libssl-dev libffi-dev python-dev After this, the "cryptography" package got installed like a charm. Thanks! Alex On Sun, Aug 17,

Re: Python library: Error with counters

2014-08-17 Thread Alex De la rosa
Hi Sean, I tried to install version 2.1.0rc1 as you suggested, but "pip" gives a compilation error and doesn't install it, here you have the log: # pip install riak==2.1.0rc1 Downloading/unpacking riak==2.1.0rc1 Downloading riak-2.1.0rc1.tar.gz (135kB): 135kB downloaded Running setup.py (path