cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 郭鹏 <gpcus...@gmail.com>
Subject Re: why Cassandra 0.5.1 write speed is very slow
Date Sun, 21 Mar 2010 13:44:55 GMT
Thx, I will try it in the multi-thread mode.

What's the best practice in the production env?



在 2010年3月21日 下午12:04,Jonathan Ellis <jbellis@gmail.com>写道:

> If you're benchmarking throughput, then you absolutely have to be
> multithreaded.
>
> 2010/3/20 郭鹏 <gpcuster@gmail.com>:
> > You mean I waste lots of time waiting for the write reply?
> >
> > How could I avoid this problem? Using multi-thread for very write
> operation?
> >
> > I am totally confused.
> >
> > Thx.
> >
> > 在 2010年3月21日 上午11:16,Jonathan Ellis <jbellis@gmail.com>写道:
> >>
> >> time a single-threaded client is spending waiting for a reply, is time
> >> it's not spending sending another request
> >>
> >> 2010/3/20 郭鹏 <gpcuster@gmail.com>:
> >> > Good ideal, I will try it with client multithread write.
> >> >
> >> > But I don't understand the meaning of "d the latency in cluster mode
> >> > hurts
> >> > that much more."
> >> >
> >> > Thx.
> >> >
> >> > 2010/3/21 Jonathan Ellis <jbellis@gmail.com>
> >> >>
> >> >> 2010/3/20 郭鹏 <gpcuster@gmail.com>:
> >> >> > :)
> >> >> >
> >> >> > I just want to know why the write speed is ok in the standalone
> mode
> >> >> > but
> >> >> > too
> >> >> > slow in the cluster mode.
> >> >> >
> >> >> > Am I doing something wrong?
> >> >>
> >> >> Probably, but it's hard to say what.
> >> >>
> >> >> Maybe you're just not using enough threads in your benchmark and the
> >> >> latency in cluster mode hurts that much more.
> >> >
> >> >
> >> >
> >> > --
> >> > Regards
> >> >    Peng Guo
> >> >
> >
> >
> >
> > --
> > Regards
> >    Peng Guo
> >
>



-- 
Regards
   Peng Guo

Mime
View raw message