incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Poor performance on small data set
Date Fri, 11 Mar 2011 17:33:36 GMT
Also: https://issues.apache.org/jira/browse/THRIFT-638

On Fri, Mar 11, 2011 at 10:44 AM, Peter Schuller
<peter.schuller@infidyne.com> wrote:
>> There is less than 1000 rows and i've got a 75-100ms to get one row by id
>> With memcached it's 2ms....
>>
>> I don't know where is the problem. jvm ? cassandra ? phpcassa ?
>>
>> What can i do to detect where is the problem ?
>
> I'm not familiar with the PHP client, but this sounds suspiciously
> like a nagle + delayed ACK problem. The PHP client probably isn't
> setting the TCP_NODELAY flag (or the equivalent in Windows).
>
> Google for "nagle delayed ack" for details.
>
> --
> / Peter Schuller
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message