cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Trivial Update of "ThriftExamples" by ChrisLarsen
Date Fri, 17 Jun 2011 22:52:16 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "ThriftExamples" page has been changed by ChrisLarsen:
http://wiki.apache.org/cassandra/ThriftExamples?action=diff&rev1=86&rev2=87

Comment:
Added note about TFramedTransport for .07

  To generate the bindings for a particular language, first find out if Thrift supports that
language.  If it does, you can run "thrift --gen XYZ interface/cassandra.thrift" for whatever
XYZ you fancy.
  
  These examples are for Cassandra 0.5 and 0.6.
+ 
+ As of 0.7 and later, the default thrift transport is TFramedTransport so if you get an error
such as "No more data to read", switch transports.
  
  == PHP ==
  Before working with Cassandra and PHP make sure that your [[http://us.php.net/manual/en/function.phpinfo.php|PHP
installation]] has [[http://us.php.net/apc/|APC]] enabled. If it does not please re-compile
[[http://us.php.net/manual/en/install.php|PHP]] and then recompile [[http://incubator.apache.org/thrift/|Thrift]].
[[http://us.php.net/apc/|APC]] drastically increases the performance of [[http://incubator.apache.org/thrift/|Thrift
Interface]].

Mime
View raw message