Call us Toll-Free:
1-800-218-1525
Live ChatEmail us

 Sponsors

PHP Thrift library for Cassandra

Mike Peters, 08-06-2010
If you're using Cassandra over PHP, you are probably aware of several bugs in the PHP Thrift interface that get in the way.

Courtesy of Jonathan Ellis, here's a list of known patches you need to apply to your PHP Thrift library:

* https://issues.apache.org/jira/browse/THRIFT-347 (TSocket Timeout)
* https://issues.apache.org/jira/browse/THRIFT-638 (Block until recv timeout)
* https://issues.apache.org/jira/browse/THRIFT-780 (Prevent aborts)
* https://issues.apache.org/jira/browse/THRIFT-788 (Multiget more than 17 keys)

To make your life easier, you can download a patched version of Thrift 0.2 for PHP, with all patches applied, here.

-

A great presentation by Cliff Moon: Dealing with the Thrift API

Frank LoVecchio, 08-27-2010
Cassandra.php is missing from packages/cassandra/. Hope it's not different than the last version!

Moses Dinakaran, 08-30-2010
Was spending lot of time with the cassandra read timeout error.

Thanks for the post. You made my life easier.
Enjoyed this post?

Subscribe Now to receive new posts via Email as soon as they come out.

 Comments
Post your comments












Note: No link spamming! If your message contains link/s, it will NOT be published on the site before manually approved by one of our moderators.



About Us  |  Contact us  |  Privacy Policy  |  Terms & Conditions