incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vodnok <vod...@gmail.com>
Subject Re: Poor performance on small data set
Date Sat, 12 Mar 2011 12:45:46 GMT
Thank you all for your replies


"nagle + delayed ACK problem" : I founded a way to solve this via regedit
but no impact on response time

THRIFT-638 : It seems to be a solution but i don't know how to patch this on
my environement phpcassa has a C extension but it's hard for me to build a
php extension

I tried to connect with localhost or 127.0.0.1 no change.

It's strange beaucause in my memories 1 week ago i had better performances.
Accessing a row was 115% time of memcached and now it's a lot more

I'll try to reinstall cassandra from scratch...


2011/3/11 Jonathan Ellis <jbellis@gmail.com>

> 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