Re: What is be the best possible client option available to a PHP developer for implementing an application ready for production environments ?
I can't comment of phpcassa directly, but we use Cassandra plus PHP in production without any difficulties. We are happy with the performance. Most of the information we needed to get started we found here: https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP This includes details on how to compile the native PHP C Extension for Thrift. We use a bespoke client which wraps the Thrift interface. You may be better of with a higher level client, although when we were starting out there was less of a push away from Thrift directly. I found using Thrift useful as you gain an appreciation for what calls Cassandra actually supports. One potential advantage of using a higher level client is that it may protect you from the frequent Thrift interface changes which currently seem to accompany every major release. Dave On Tuesday, 18 January 2011, Tyler Hobbs ty...@riptano.com wrote: 1. ) Is it devloped to the level in order to support all the necessary features to take full advantage of Cassandra? Yes. There aren't some of the niceties of pycassa yet, but you can do everything that Cassandra offers with it. 2. ) Is it used in production by anyone ? Yes, I've talked to a few people at least who are using it in production. It tends to play a limited role instead of a central one, though. 3. ) What are its limitations? Being written in PHP. Seriously. The lack of universal 64bit integer support can be problematic if you don't have a fully 64bit system. PHP is fairly slow. PHP makes a few other things less easy to do. If you're doing some pretty lightweight interaction with Cassandra through PHP, these might not be a problem for you. - Tyler -- *Dave Gardner* Technical Architect [image: imagini_58mmX15mm.png] [image: VisualDNA-Logo-small.png] *Imagini Europe Limited* 7 Moor Street, London W1D 5NB [image: phone_icon.png] +44 20 7734 7033 [image: skype_icon.png] daveg79 [image: emailIcon.png] dave.gard...@imagini.net [image: icon-web.png] http://www.visualdna.com Imagini Europe Limited, Company number 5565112 (England and Wales), Registered address: c/o Bird Bird, 90 Fetter Lane, London, EC4A 1EQ, United Kingdom
Re: What is be the best possible client option available to a PHP developer for implementing an application ready for production environments ?
I think we might need to go with full Java implementation only, in that case, to live up with Hector as we do not find any other better option. @Dave: Thanks for the links but we wouldn't much prefer to go with thrift implementation because of frequently changing api and other complexities there. Also we would not like to lock ourselves with implementation in a language with a client option that has limitations that we can bear now but not necessarily in future. If anybody else has a better solution to this please let me know. Thank you all. Ertio Lew On Tue, Jan 18, 2011 at 2:49 PM, Dave Gardner dave.gard...@imagini.net wrote: I can't comment of phpcassa directly, but we use Cassandra plus PHP in production without any difficulties. We are happy with the performance. Most of the information we needed to get started we found here: https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP This includes details on how to compile the native PHP C Extension for Thrift. We use a bespoke client which wraps the Thrift interface. You may be better of with a higher level client, although when we were starting out there was less of a push away from Thrift directly. I found using Thrift useful as you gain an appreciation for what calls Cassandra actually supports. One potential advantage of using a higher level client is that it may protect you from the frequent Thrift interface changes which currently seem to accompany every major release. Dave On Tuesday, 18 January 2011, Tyler Hobbs ty...@riptano.com wrote: 1. ) Is it devloped to the level in order to support all the necessary features to take full advantage of Cassandra? Yes. There aren't some of the niceties of pycassa yet, but you can do everything that Cassandra offers with it. 2. ) Is it used in production by anyone ? Yes, I've talked to a few people at least who are using it in production. It tends to play a limited role instead of a central one, though. 3. ) What are its limitations? Being written in PHP. Seriously. The lack of universal 64bit integer support can be problematic if you don't have a fully 64bit system. PHP is fairly slow. PHP makes a few other things less easy to do. If you're doing some pretty lightweight interaction with Cassandra through PHP, these might not be a problem for you. - Tyler -- *Dave Gardner* Technical Architect [image: imagini_58mmX15mm.png] [image: VisualDNA-Logo-small.png] *Imagini Europe Limited* 7 Moor Street, London W1D 5NB [image: phone_icon.png] +44 20 7734 7033 [image: skype_icon.png] daveg79 [image: emailIcon.png] dave.gard...@imagini.net [image: icon-web.png] http://www.visualdna.com Imagini Europe Limited, Company number 5565112 (England and Wales), Registered address: c/o Bird Bird, 90 Fetter Lane, London, EC4A 1EQ, United Kingdom
Re: What is be the best possible client option available to a PHP developer for implementing an application ready for production environments ?
On Mon, Jan 17, 2011 at 7:22 PM, Ertio Lew ertio...@gmail.com wrote: What would be the best client option to go with in order to use Pycassa. https://github.com/thobbs/pycassa Cassandra through an application to be implemented in PHP. Oh. Then https://github.com/thobbs/phpcassa https://github.com/thobbs/phpcassa-Brandon
Re: What is be the best possible client option available to a PHP developer for implementing an application ready for production environments ?
Hey Brandon, 1. ) Is it devloped to the level in order to support all the necessary features to take full advantage of Cassandra? 2. ) Is it used in production by anyone ? 3. ) What are its limitations? Thanks. On Tue, Jan 18, 2011 at 7:11 AM, Brandon Williams dri...@gmail.com wrote: On Mon, Jan 17, 2011 at 7:22 PM, Ertio Lew ertio...@gmail.com wrote: What would be the best client option to go with in order to use Pycassa. https://github.com/thobbs/pycassa Cassandra through an application to be implemented in PHP. Oh. Then https://github.com/thobbs/phpcassa -Brandon