Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "ClientExamples" page has been changed by DavidStrauss. The comment on this change is: Use TBinaryProtocolAccelerated. http://wiki.apache.org/cassandra/ClientExamples?action=diff&rev1=49&rev2=50 -------------------------------------------------- // Make a connection to the Thrift interface to Cassandra $socket = new TSocket('127.0.0.1', 9160); $transport = new TBufferedTransport($socket, 1024, 1024); - $protocol = new TBinaryProtocol($transport); + $protocol = new TBinaryProtocolAccelerated($transport); $client = new CassandraClient($protocol); $transport->open();
