cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan King <r...@twitter.com>
Subject Re: Read Performance
Date Fri, 02 Apr 2010 17:35:50 GMT
On Thu, Apr 1, 2010 at 8:37 PM, James Golick <jamesgolick@gmail.com> wrote:
> Well, folks, I'm feeling a little stupid right now (adding to the injury
> inflicted by one Mr. Stump :-P).
> So, here's the story. The cache hit rate is up around 97% now. The ruby code
> is down to around 20-25ms to multiget the 20 rows. I did some profiling,
> though, and realized that a lot of time was being spent in thrift. Turns
> out, that's where pretty much all the time was going.
> I just ran the same test using java (scala) and the load is taking around
> 2-4ms.

We've definitely seen ruby add latency to cassandra operations, but it
hasn't been that bad. Are you using our cassandra gem?

-ryan

Mime
View raw message