Re: Clarifying withoutFetch() with LevelDB and

2015-05-13 Thread Daniel Iwan
Alex, Thanks for answering this one and pointing me into right direction. I did an experiment and wrote 0 bytes instead of a JSON and got the same effect - level db folder is 80-220MB in size and activity around 20MB/s write to disk, no read from disk. Java client reports speed 45 secs for 1000 en

Re: Java client 1.1.4 and headOnly() in domain buckets

2015-05-13 Thread Daniel Iwan
Hi Alex >> It appears that the domain buckets api does not support headOnly(). That >> api was written to be a higher-level abstraction around a common usage, >> so >> it abstracted that idea of head vs object data away. I think it may be quite useful functionality anyway, to check the existen

Re: Java client 1.1.4 and headOnly() in domain buckets

2015-05-13 Thread Alex Moore
Hey Daniel, It appears that the domain buckets api does not support headOnly(). That api was written to be a higher-level abstraction around a common usage, so it abstracted that idea of head vs object data away. If you need that support, I would use the regular bucket methods instead. Thanks,

Re: Clarifying withoutFetch() with LevelDB and

2015-05-13 Thread Alex Moore
Hey Daniel, I wanted to know a little bit more about using withoutFetch() option when > used with levelDB. > I'm trying to write to a single key as fast as I can with n=3. > I deliberately create siblings by writing with stale vclock. > ... > During the test I see activity on the on disk via iosta

Re: Clarifying withoutFetch() with LevelDB and

2015-05-13 Thread Daniel Iwan
We are using Java client 1.1.4. We haven't moved to newer version of Riak as as for the moment we don't need any new features. Also roll out of the new version may be complicated since we have multiple clusters. As with regards to object size its ~250-300 bytes per write. We store simple JSON stru

Re: Clarifying withoutFetch() with LevelDB and

2015-05-13 Thread Luke Bakken
Hi Daniel, What version of the Java client are you using? Any reason you're on such an old version of Riak? What is the size of each object written? -- Luke Bakken Engineer lbak...@basho.com On Wed, May 13, 2015 at 4:48 AM, Daniel Iwan wrote: > Hi > > I'm using 4 node Riak cluster v1.3.1 > >

Clarifying withoutFetch() with LevelDB and

2015-05-13 Thread Daniel Iwan
Hi I'm using 4 node Riak cluster v1.3.1 I wanted to know a little bit more about using withoutFetch() option when used with levelDB. I'm trying to write to a single key as fast as I can with n=3. I deliberately create siblings by writing with stale vclock. I'm limiting number of writes to 1000 pe