Re: looking at making astyanax asynchronous but cassandra-thrift-1.1.1 doesn't look right

2013-04-17 Thread aaron morton
Here's an example I did in python a long time ago http://www.mail-archive.com/user@cassandra.apache.org/msg04775.html Call send() then select on the file handle, when it's ready to read call recv(). Or just add more threads on your side :) Cheers - Aaron Morton Freelance Cas

looking at making astyanax asynchronous but cassandra-thrift-1.1.1 doesn't look right

2013-04-17 Thread Hiller, Dean
Is cassandra-thrift-1.1.1.jar the generated code? I see a send() and recv() but I don't see a send(Callback cb) that is typicaly of true asynchronous platforms. Ie. I don't know when to call recv myself obviously if I am trying to make astyanax truly asynchronous. The reason I ask is we have