On 2010-03-30 12:51, yaw wrote: > I have seen your guide at > https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP. > > I use Cassandra with a PHP client .. > Until now, I am using Thrift PHP classes that I found into Pandra > project (high level PHP client) as I was unable to install or build > thrift compiler on my old Etch Debian OS.
You pretty much have to if you want to generate a Thrift client supporting the right API for the version of Cassandra you're running. If it's too hard to generate on your Etch machine, spin up a VM (locally or on some cloud) and do it on there. The generated PHP client is completely portable as long as it's used against the same Cassandra server version. > I can not found native PHP extension you are speaking about... I don't > understand if this extension can replace PHP classes that are generated > with thrift compiler The generated Thrift client automatically makes use of the PHP extension, if available, for certain small, computationally intense portions of the code. You have to use TBinaryProtocolAccelerated for this to work. -- David Strauss | da...@fourkitchens.com Four Kitchens | http://fourkitchens.com | +1 512 454 6659 [office] | +1 512 870 8453 [direct]
signature.asc
Description: OpenPGP digital signature