Re: PHP client overhaul

2011-09-15 Thread Jonathan Langevin
I'm with Joe on an extension, especially as that may gain more visibility for Riak in the PHP community as an alternative to Couch & Mongo.* Jonathan Langevin Systems Administrator Loom Inc. Wilmington, NC: (910) 241-0433 - jlange...@loomlearning.com - www.loomlear

Re: PHP client overhaul

2011-09-15 Thread Mark Steele
See http://www.control-alt-del.org/2011/09/06/building-a-better-riak-client-for-php/ I suspect the gains are only modest, perhaps I'll test it out. YMMV Cheers, Mark Steele Bering Media Inc. On Thu, Sep 15, 2011 at 4:50 AM, Joseph Lambert wrote: > How would you go about adding support for pr

Re: PHP client overhaul

2011-09-15 Thread Joseph Lambert
How would you go about adding support for protocol buffers? I think I'd prefer having a PHP extension for that. Anyone else feel that way? - Joe Lambert joseph.g.lamb...@gmail.com +86 13656213284 On Wed, Sep 14, 2011 at 10:23 PM, Kev Burns wrote: > > Riak 1.0 is coming soon. > Now would be a

Re: PHP client overhaul

2011-09-14 Thread Jonathan Langevin
Excited for an overhaul. Something brought up in discussions with other PHP devs, is the need to separate each class into it's own file. Also, separating out the actual transport logic would be a good move. And yes, 5.3+ minimum would be a good step forward. Anyone on 5.2 could just stick with the

Re: PHP client overhaul

2011-09-14 Thread Mark Steele
That assumes a consistent conflict resolution strategy for all objects in the bucket (which makes sense under most circumstances I suppose). I personally like the statebox approach, but you can't please everyone and it doesn't apply to all possible situations. On the down side that kind of impleme

Re: PHP client overhaul

2011-09-14 Thread Kev Burns
agree on optional read-before-write. good note on optional returnbody. I recall a talk by Yammer about their use of Riak in Scala and the gist was that they achieve retry using closures. I has envisioned resolvers as being bucket specific and being automatically called at read time if present befo

Re: PHP client overhaul

2011-09-14 Thread Mark Steele
Looks great! We are currently still using the 5.2 series, but a better client that only supports 5.3 might motivate us to upgrade. I would just add to make any read-before-write stuff optional (for performance reasons), same with returnbody behaviors. Sibling resolution is very application speci

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