Re: Forcing Siblings to Occur

2013-11-13 Thread Olav Frengstad
ich shouldn't be off by more than a few > siblings unless there is a network partition. > >>> > >>> So aside from size issues, which can be roughly predicted or worked > around, is there any reason to not create hundreds or thousands of siblings > and resolve t

Write to object(s) by index

2013-11-13 Thread Olav Frengstad
e of such a method. Cheers, Olav -- Med Vennlig Hilsen Olav Frengstad Systemutvikler // FWT +47 920 42 090 ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Forcing Siblings to Occur

2013-11-12 Thread Olav Frengstad
Forgot the link! [1] https://github.com/basho/riak_kv/commit/6981450c5ffc18207b3a1dc057fd3840a0906c42 2013/11/13 Olav Frengstad > @John, I'm definitely looking forward to CRDT's but at the same time i'm > looking into alternative approaches for achieving the same th

Re: Forcing Siblings to Occur

2013-11-12 Thread Olav Frengstad
't need delete > functionality. Creating your own CRDTs are trivial if you never need to > delete. > > Thoughts are welcome, > Jason > *From: *John Daily > *Sent: *Wednesday, 13 November 2013 3:10 AM > *To: *Olav Frengstad > *Cc: *riak-users > *Subject: *Re: Forci

Re: Forcing Siblings to Occur

2013-11-12 Thread Olav Frengstad
Do you consider forcing siblings a good idea? I would like to get some input on possible use cases and pitfalls. For instance i have considered to force siblings and then merge them on read instead of fetching an object every time i want to update it (especially with larger objects). It's not clea

Riak and erl_boot_server

2013-06-13 Thread Olav Frengstad
Hey, I'm trying to get Riak to load through the erl_boot_server, have anyone had any success with this before? At the moment i'm stuck with the most basic part of just getting dependencies to load over the server. The boot file is loaded (judging by the fact it tries to load deps) but no code is

Re: Computing value size

2013-04-26 Thread Olav Frengstad
____ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > -- Med Vennlig Hilsen Olav Frengstad Systemutvikler // FWT +47 920 42 090 ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Installing a custom hash function

2013-04-25 Thread Olav Frengstad
<<",">>) of > {Pos, 1} -> binary:part(Key, 0, Pos); > _ -> Key > end. > > kv_hash_fun({Bucket,Key}) -> > chash:key_of({Bucket, extract_id(Key)}). > > This is with riak 1.2.0 on Unbuntu. > > Th

Re: Experimental branch - 2i query improvements

2013-04-17 Thread Olav Frengstad
#x27;m short of time at the moment to progress this, but perhaps in the next > couple of weeks I may try and revisit that idea. > > Martin > > > On 17 April 2013 11:06, Olav Frengstad wrote: > >> The features sounds very promising, from a ease-of-use perspective &g

Re: Experimental branch - 2i query improvements

2013-04-17 Thread Olav Frengstad
racing across an 80M record demographic database. I'd be interested if > people thought it had value in other environments. > > Regards > > Martin > > > ___ > riak-users mailing list > riak-users@lists.b

Re: riak-erlang-client ping problem

2012-12-12 Thread Olav Frengstad
{[],[]}, >1,[],infinity,100} > ** Reason for termination == > ** disconnected > ** exception exit: disconnected > 3> > > > I'm using riak-1.2.1 > > > Thanks in advance. > > ___ &g

Guarantee of Riak generated key size

2012-11-06 Thread Olav Frengstad
Hey, I'm using keys generated by Riak and have come over some random failure in my test cases. I have naively assumed that the 160bit hash would always return a base62 encoded value with the length of 27. On that point I'm obviously wrong as the shell session below shows. My question is this by

Re: Map Reduce and long queries -

2012-10-15 Thread Olav Frengstad
ot want it, maybe there is a way to create a sandbox or only expose certain modules? Olav 2012/10/15, Bryan Fink : > On Mon, Oct 15, 2012 at 4:13 AM, Olav Frengstad wrote: >> Just as a note, using the Erlang pb client you can use the key filters >> for 2i queries if you include t

Re: Map Reduce and long queries -

2012-10-15 Thread Olav Frengstad
> The word everywhere is to avoid key filters. It effectively does a > whole-bucket key-listing, and that starts to get seriously slow out past 100k > items. Since you say test queries work I'll presume you've debugged your map > and reduce on some queries where you manually add a set of keys. (

Re: Listing keys again

2012-10-12 Thread Olav Frengstad
r explanation for this? > > It is quite a surprise especially that as far as I know Riak client > still have some features missing (native support of 2i?) > > Regards > Daniel > > ___ > riak-users mailing list > riak

Re: Emulating composite index queries with secondary indexes and key filters

2012-08-28 Thread Olav Frengstad
ust linking. 2012/8/28 Jeremiah Peschka : > As best as I can recall, you can't key filter on 2i. You can, however, > perform range filtering. You could query where the 2i key is between > 20110101T00:00:00Z|a|a and 20110201T00:00:00Z|zzz|zzz > > Please forgive any typos. I&#x

Emulating composite index queries with secondary indexes and key filters

2012-08-28 Thread Olav Frengstad
have for querying this? Obviously i can use Riak search, but the term based indexing puts me off. Other option is building this manually with empty object just linking. -- Med Vennlig Hilsen Olav Frengstad Systemutvikler // FWT +47 920 42 090 ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com