You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Brandon Williams <dr...@gmail.com> on 2010/01/01 01:56:56 UTC

Re: async calls in cassandra

On Thu, Dec 31, 2009 at 8:46 AM, Ran Tavory <ra...@gmail.com> wrote:

> Does cassandra/thrift support asynchronous IO calls?
> Is this planned for an upcoming release?
>

Cassandra does not, since it uses a thread per connection model.  I spent
some time trying to enable it (because I use twisted python) by switching to
the thrift THsHaServer, but this did not work and dropped performance
significantly.  That said, I don't find using a connection pool to be much
trouble, and actually becomes an advantage when you're interacting with
multiple hosts.

-Brandon