Re: Have Riak servers in separate cluster behind a load balancer, or on same machines as web server?

2011-10-04 Thread Kev Burns
I'd also choose option A for infrastructure simplicity and more reliable stats for capacity planning. 5 node n=3 is a very well understood starting point. - Kev On Oct 4, 2011 2:06 PM, "O'Brien-Strain, Eamonn" < eamonn.obrien-str...@hp.com> wrote: > I am contemplating two different architectures f

Re: What is the best way to do "AND / OR" queries across data items across one or more buckets Riak? Seconday indexes, Solr, mutiple map phases, etc? Is this advice different prior to 1.0?

2011-10-02 Thread Kev Burns
What up Harshal, Since at least 0.13.x, the solr interface has supported both AND and OR queries just fine, even in combination. {a: "foo"} {a: "bar"} {a: ["foo", "bar"]} {a: "bar baz"} curl "http://localhost:8098/solr/bucket_name/select?wt=json&q=a:foo+OR+a:bar " (4 results) curl " http://loca

Re: Hints for using links

2011-10-02 Thread Kev Burns
If you wanted to get freaky, you could write a post-commit hook (in erlang) that automatically persists a copy of a k/v to a history bucket whenever a new value is stored. Then of course you could open source it to provide a canonical solution for all :) - Kev On Oct 1, 2011 4:45 AM, "Anton Podvia

Re: Rolling Upgrade (was Re: Riak 1.0)

2011-10-01 Thread Kev Burns
I just did a riak-admin backup on a 0.14.2 dev cluster using the bitcask backend, then did a riak-admin restore on a 1.0.0 dev cluster using the eleveldb backend. No problem. - Kev c: +001 (650) 521-7791 2011/10/1 Jeremiah Peschka > You can perform a rolling upgrade of each of the existing Ri

Re: PHP client overhaul

2011-09-14 Thread Kev Burns
e baked in though. > > We usually do all of our conflict resolution at read time (using an > approach similar to statebox) whenever an object is returned with siblings. > > Cheers > > Mark > > On Wed, Sep 14, 2011 at 10:23 AM, Kev Burns wrote: > >> >> Ria

PHP client overhaul

2011-09-14 Thread Kev Burns
Riak 1.0 is coming soon. Now would be a good time to overhaul the PHP client. Goals - Add support for Protocol Buffers - Add support for new Riak 1.0 features (2i, pr, pw, client_id, etc) - Add performance benchmarks - Improve network performance - Improve tests - Add support fo

Re: [RFC] Python client: move to properties

2011-09-14 Thread Kev Burns
Riak 1.0 is coming soon. Perhaps it makes sense for client point releases to coincide with server point releases? - Kev c: +001 (650) 521-7791 On Wed, Sep 14, 2011 at 4:37 AM, Mathias Meyer wrote: > The short answer: yes, we can and we should. I had that on my radar for a > while too, because

Re: Speed of linkwalking

2011-08-30 Thread Kev Burns
Mark, That's not just a link walk, you're also performing a map operation there. $client->add($bucketname, 'linkkey1')-> link()-> map(array("riak_kv_mapreduce", "map_object_value")) -> run(); If the expected number of returned objects is small, performing the map phase in PHP may be

Re: PHP - Riak extension (with Protocol Buffers)?

2011-08-26 Thread Kev Burns
This is the first suggestion I've heard of a Riak PHP extension. - Kev c: +001 (650) 521-7791 On Fri, Aug 26, 2011 at 8:40 AM, Jonathan Langevin < jlange...@loomlearning.com> wrote: > Has anyone begun work on a Riak extension for PHP (which ideally would make > use of PB)? > I'd love to see som

Re: Bulk loading data and "Could not contact Riak Server" error

2011-08-03 Thread Kev Burns
I've begun adding Protobuf support to the PHP Client on a branch of my fork but it's a ways off https://github.com/KevBurnsJr/riak-php-client/tree/protobuf - Kev c: +001 (650) 521-7791 On Wed, Aug 3, 2011 at 12:17 PM, Scott Lystig Fritchie < fritc...@snookles.com> wrote: > gtuhl wrote: > > >

Re: riak-ql

2011-07-27 Thread Kev Burns
So I just googled the term REPL ( Read-eval-print loop == CLI ) And I now see how a tool like this could be hugely valuable. Riak doesn't yet have a large variety of 3rd party tooling for out of band data inspection/manipulation. I rolled my own little interface for poking about in buckets but it

Re: riak-ql

2011-07-26 Thread Kev Burns
ta... if you just have a "Messages" > bucket to store everybody's messages, will be very hard to query... instead, > if you atomize it like "Messages_Rohman", "Messages_OtherUser", etc... you > will have less data on each bucket and queries could be fa

Re: riak-ql

2011-07-26 Thread Kev Burns
Francisco - How's performance on riak-ql? The problem I see with riak-ql and Antonio's thing is that they're invariably going to be slow. Javascript Map/Reduce over an entire bucket is just not suitable for inline requests. Take PodCrazy http://podcrazy.net/ It's backed entirely by RiakSearch an

Re: riak-ql

2011-07-26 Thread Kev Burns
Here's a virus-free version of Antonio's slide deck (Google Docs) https://docs.google.com/present/view?id=dhpxng6q_51gdj6r9wn - Kev c: +001 (650) 521-7791 On Tue, Jul 26, 2011 at 6:23 PM, Antonio Rohman Fernandez < roh...@mahalostudio.com> wrote: > ** > > for PHP you can take a look at this sli

Re: Riak Recap for July 20 - 24

2011-07-26 Thread Kev Burns
< jeremiah.pesc...@gmail.com> wrote: > Rusty did an excellent job today at OSCON. He's on the OSCON Data track, so > he's not visible on the main OSCON whatnot. > --- > Jeremiah Peschka > Founder, Brent Ozar PLF, LLC > > On Jul 25, 2011, at 7:15 PM, Kev Burns wrote:

Re: Riak Recap for July 20 - 24

2011-07-25 Thread Kev Burns
Is Rusty ready to spill the beans on secondary indexes at OSCON this week? I don't see him on the speaker list http://www.oscon.com/oscon2011/public/schedule/speakers - Kev c: +001 (650) 521-7791 On Mon, Jul 25, 2011 at 4:56 PM, Mark Phillips wrote: > Evening, Morning, Afternoon to All - > >

Re: Riak search providers no results

2011-06-11 Thread Kev Burns
1) Make sure you install the search hook BEFORE storing the document. Only documents stored after the index was installed will be indexed. 2) Try PUT from the command line to see if you have any errors. http://pastie.org/2051252 You should get a 204 No Content. 3) Perhaps remove the quotes on th

Re: riaksearch + mapreduce cannot query more than 20K entries

2011-04-21 Thread Kev Burns
It depends a bit upon the query. Is this a MapReduce request? A RiakSearch request? What are the inputs? - Kev c: +001 (650) 521-7791 On Thu, Apr 21, 2011 at 10:10 PM, khyqo wrote: > i am having some trouble in querying more than 20K entries.. when i tried > to query around 100K entries, i g

Re: Store() Performance

2011-04-08 Thread Kev Burns
Gui, I was talking to Andy Gross at a drinkup last month and he told me about a config var which might help speed up your import. http://wiki.basho.com/Configuration-Files.html#disable_http_nagle > disable_http_nagle > > When set to true, this option will disable the Nagle buffering algorithm > f

Re: Unable to do a simple search

2011-03-17 Thread Kev Burns
Check your syntax. You forgot the index parameter. search-cmd search [INDEX] QUERY : Perform a search. $ ./bin/search-cmd search test "num_num:12" - Kev c: +001 (650) 521-7791 2011/3/17 Nicolas Lalevée > I am quite confused because I am not able to actually make riak-search > work,