Re: May allow_mult cause DoS?

2013-12-18 Thread Russell Brown
Hi, Can you describe your use case a little? Maybe it would be easier for us to help. On 18 Dec 2013, at 04:32, Viable Nisei wrote: > On Wed, Dec 18, 2013 at 8:32 AM, Erik Søe Sørensen wrote: > It really is not a good idea to use siblings to represent 1-to-many > relations. That's not what i

Improved C++ client, python3 bindings

2013-12-18 Thread Pedro Larroy
Hi I'm improving the C++ client. Adding python3 bindings with boost_python and creating an easy C++ class to use the client with less effort. https://github.com/larroy/riak_python3 Pedro ___ riak-users mailing list riak-users@lists.basho.com http://l

Re: accessing CRDTs in riak 2.0

2013-12-18 Thread Russell Brown
Hi James, We’re working on docs. There are some edocs at the top of riak_kv_wm_crdt that describe the HTTP API, that I’ve put on DropBox here https://www.dropbox.com/s/bcdn2q2owgv4jxl/riak_kv_wm_crdt.html, though we are still pre-freeze on this code, so APIs change. As for the PB messages, it

Re: /riak-cs/stats broken

2013-12-18 Thread Hector Castro
Hi Dan, Apologizes for the delayed response. I reproduced the HTTP 403 when `admin_auth_enabled` is set to `false`, but successfully retrieved stats with it set to `true`: $ riak-cs version 1.4.2 $ grep "admin_auth_enabled" /etc/riak-cs/app.config {admin_auth_enabled, true}, $ ./s3c

Client interface

2013-12-18 Thread Nicholas Wieland
Hi, I'm a riak newbie and I'm planning to use it for my next project. It would be very useful to have a way to see inside buckets graphically (like phpmyadmin), a project similar to riak-control but for data. Does anybody know of something like this? Something basic is ok, I don't need anything fan

Re: Client interface

2013-12-18 Thread Shane McEwan
On 18/12/13 16:29, Nicholas Wieland wrote: Hi, I'm a riak newbie and I'm planning to use it for my next project. It would be very useful to have a way to see inside buckets graphically (like phpmyadmin), a project similar to riak-control but for data. Does anybody know of something like this? Som

Re: Client interface

2013-12-18 Thread Sean Cribbs
Sorry to burst your bubble Shane, but the way we encode Riak keys in LevelDB is going to be mostly useless in levelweb. Nicholas: It's not ideal (list-buckets and list-keys caveats apply), but for development purposes, you can use rekon: https://github.com/basho/rekon On Wed, Dec 18, 2013 at 10:

Re: 404 Error: Object Not Found

2013-12-18 Thread Ari King
Hi Hector, Hopefully this one resolves it: > > I just setup a single node on Ubuntu 12.04 using Vagrant and attempted > to walk through your steps. In the process, I noticed that you are > issuing the following `curl` command and receiving a 404: > > $ curl -v -XPUT http://10.0.2.15:8098/sessions/

Fwd: May allow_mult cause DoS?

2013-12-18 Thread Viable Nisei
-- Forwarded message -- From: Viable Nisei Date: Thu, Dec 19, 2013 at 2:11 AM Subject: Re: May allow_mult cause DoS? To: Russell Brown Hi. Thank you for your descriptive and so informative answer very much. On Wed, Dec 18, 2013 at 3:29 PM, Russell Brown wrote: > Hi, > > Can

strange error with risk 1.3.1 on OS X

2013-12-18 Thread José G. Quenum
Hi all, I am using riak 1.3.1-x86_64 on OS X Mavericks. After installing the riak server I decided to first test if it was working fine. So I issued a few cURL commands. First to add with curl -i -v -XPUT http://127.0.0.1:8098/riak/users_development/kemy -H "Content-Type: application/json" -d '

Re: strange error with risk 1.3.1 on OS X

2013-12-18 Thread Luke Bakken
I think you're hitting this timezone bug: http://erlang.org/pipermail/erlang-questions/2013-January/071698.html Could you update your Riak version, which should update the Erlang being used? -- Luke Bakken CSE lbak...@basho.com On Wed, Dec 18, 2013 at 3:33 AM, "José G. Quenum" wrote: > Hi all,

SV: May allow_mult cause DoS?

2013-12-18 Thread Rune Skou Larsen
Save the transaction list inside the customer object keyed by customerid. Index this object with 2i on storeids for each contained tx. If some customer objects grow too big, you can move old txs into archive objects keyed by customerid_seqno. For your low latency customer reads, you probably on

Re: accessing CRDTs in riak 2.0

2013-12-18 Thread James Moore
That seems to have done the trick along with the datatype property on bucket-type creation Cheers! --James On Wed, Dec 18, 2013 at 9:47 AM, Russell Brown wrote: > Hi James, > > We’re working on docs. There are some edocs at the top of riak_kv_wm_crdt > that describe the HTTP API, that I’ve pu

Ruby riak client: timeout and retry?

2013-12-18 Thread Adam Greene
hey folks, We have an issue where one of the nodes is taking > 5 secs to respond to a ping request. This caused (on our side) haproxy health check to time out, and... well... a cascade of issues. So we are fixing that up on our end, but it raised questions about Riak timeouts on the client side

Re: Maps with multiple buckets

2013-12-18 Thread Bryce Verdier
So in playing with things a little bit, I don't think that this list of bucket-key pairs is going to work for me. I'm using riak counters to keep tabs of various customers ID's as they travel through our system. So when Bob first shows up, he's seen by one set of servers. Adding 1 to the count

Re: Maps with multiple buckets

2013-12-18 Thread John Daily
Alex Moore and I provided some general time series advice and links on StackOverflow recently: http://stackoverflow.com/questions/19384686/what-is-the-most-efficient-way-to-store-time-series-in-riak-with-heavy-reads Broadly speaking, issuing dynamic queries via MapReduce is going to be less des

Re: May allow_mult cause DoS?

2013-12-18 Thread Viable Nisei
Hi On Thu, Dec 19, 2013 at 3:07 AM, Rune Skou Larsen wrote: > Save the transaction list inside the customer object keyed by customerid. > Index this object with 2i on storeids for each contained tx. > > Not so good idea. Transactions may be running in parallel, but there is no atomic operations