cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Heath Oderman <>
Subject Re: New User: OSX vs. Debian on Cassandra 0.5.0 with Thrift
Date Fri, 23 Apr 2010 19:29:47 GMT
Really interesting find.

After Jonathan E. suggested py_stress and it seemed clear the problem was in
my .net client I spent a few days debugging the client in detail.

I ended up changing my CassandraContext instantiation to use a

          TBuffferedProtocol(TSocket) instead of a
          TSocket directly.

The difference was *dramatic*.

The calls to debian suddenly behaved as expected, eclipsing the write speeds
under load of the calls to the OSX box by a factor of 2!

The change caused a performance increase in the client communicating with
OSX as well, but the improvement was smaller.

I don't understand exactly, but clearly there's a difference in the way that
Debian and OSX handle socket level communications that has a big effect on a
.net client calling in from windows.

It's been a really interesting experiment and I throughly appreciate all the
help and pointers I've gotten from this list.

Cassandra is so fast, and so impressive it strains credibility.  I'm totally
amazed by what these guys have put together.


View raw message