The consistency level also is One.

在 2010年3月23日 上午10:21，Benjamin Black <b@b3k.us>写道：

Maybe I missed this: what replication factor and consistency level are

you using?

2010/3/21 郭鹏 <gpcuster@gmail.com>:

> 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

>

--

Regards

Peng Guo