Re: [Announcement] Riak 2.1 - Features & Release Notes

2015-04-16 Thread Sean Cribbs
Alex, We require bucket types for the write-once feature for the same reason we require them for datatypes or strong consistency: this is a property that changing after data has been written could have undefined behavior. Making there be an explicit creation/activation of the bucket-type ensures t

Re: Android client, Riak server

2015-04-16 Thread Gusti Gonzalez
Thanks for your answers. Good point noticed about the middleware. May I ask what middleware would you suggest to be evaluated? Regards, Gustavo El 16/04/15 a las 16:38, John Daily escribió: Agreed: exposing any database directly to the Internet is risky, and Riak’s security introduced in 2.

Re: [Announcement] Riak 2.1 - Features & Release Notes

2015-04-16 Thread Alex De la rosa
"The write_once property is applied to a bucket type"... why only on bucket types? ex: RIAK.bucket_type('my_type').bucket('my_bucket').get('my_key') Normally I use bucket types to use mutable data like Maps/Sets/Counters... so I can update its contents (multiple writes) and when I have static dat

[Announcement] Riak 2.1 - Features & Release Notes

2015-04-16 Thread Matthew Brender
Riak 2.1 is available [1]! Let’s start with the most fun part. ## New Feature Riak 2.1 introduces the concept of “write once” buckets, buckets whose entries are intended to be written exactly once, and never updated or over-written. The write_once property is applied to a bucket type and may only

Re: Android client, Riak server

2015-04-16 Thread John Daily
Agreed: exposing any database directly to the Internet is risky, and Riak’s security introduced in 2.0 doesn’t really change that. -John On Apr 16, 2015, at 4:25 PM, Alexander Sicular wrote: > That should work but are you sure you want to expose your riak server to the > Internet? I would rec

Re: Android client, Riak server

2015-04-16 Thread Alexander Sicular
That should work but are you sure you want to expose your riak server to the Internet? I would recommend against that and instead suggest your app talk to some middleware. -Alexander @siculars http://siculars.posthaven.com Sent from my iRotaryPhone > On Apr 14, 2015, at 12:54, Gustavo Gonzal

Android client, Riak server

2015-04-16 Thread Gustavo Gonzalez
Hi, Please excuse me if I am asking a silly question. Is the Riak Java Client also usable (applies to) in Android application development? That is, if I want to develop an Android app that connects to a Riak Server, do I use this riak-Java-Client? Thanks for your reply. Regards, Gustavo.

Re: Riak 2.0 Pre/Post commit -- SOLVED!!!

2015-04-16 Thread Humberto Rodriguez
Hi everyone, I received a lot of help from the linkedin page of Riak and the #riak IRC room on irc.freenode.net . I am using Mac OS 10.10 and the solution was to remove the firts slash from "/tmp/beams/" a

Re: object sizes

2015-04-16 Thread Alex De la rosa
Hi Matthew, Thanks for your answer : ) i always have interesting questions : P about point [2]... if you see my examples, i'm already using sys.getsizeof()... but sizes are not so accurate, also, I believe that is the size they take on RAM when loaded by Python and not the full exact size of the

Re: object sizes

2015-04-16 Thread Matthew Brender
Hi Alex, That is an interesting question! I haven't seen a request like that in our backlog, so feel free to open a new issue [1]. I'm curious: why not use something like sys.getsizeof [2]? [1] https://github.com/basho/riak-python-client/issues [2] http://stackoverflow.com/questions/449560/how-d

Re: Riak 2.0 Pre/Post commit

2015-04-16 Thread Matthew Brender
Hi Humberto, Excuse the delay here - this question slipped through. Can you walk through what you're trying to do? When it comes to hook examples, the best examples are kept up-to-date on this page [1]. I found one example from this blog post [2] which you can jump to by searching the page for "%

Re: Need help getting riak started

2015-04-16 Thread Shawn Debnath
Turns out it was the nodename that was the culprit. The suffix part of the nodename, @cluster.example.com, needs to be resolvable to that specific host for ping to work. So had to switch to n...@node.cluster.example.com. Though it looks strange, at least the service boots up properly. Attempted