cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Даниел Симеонов <dsimeo...@gmail.com>
Subject Re: Cassandra thrift question
Date Sat, 22 May 2010 12:50:28 GMT
Hi Jonathan,
  This sounds a little bit strange, I would expect that NIO server sockets
to be more scalable than regular socket, well I don't have much experience
with tcp programming. What was the scenario you used? The problem I observe
is that most of the requests to Cassandra are quite performant (lets say
miliseconds) yet some requests (~ 0.2 % of all requests) are slow ~2-5
seconds. Profiling Cassandra showed that thrift socket read operations
contributed for most of the time spent.
Best regards, Daniel.

2010/5/22 Jonathan Ellis <jbellis@gmail.com>

> Because when we tested it, it was slower.
>
> 2010/5/21 Даниел Симеонов <dsimeonov@gmail.com>:
>  > Hi,
> >    I have a question about the thrift protocol used to connect to
> Cassandra,
> > I saw in class CassandraDaemon that TServerSocket is being used,
> > why TNonblockingServerSocket is not being used? Thank you very much!
> > Best regards, Daniel.
>
>
>
> --
>  Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of Riptano, the source for professional Cassandra support
> http://riptano.com
>

Mime
View raw message