cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang cnan <imc...@gmail.com>
Subject Re: Extremly slow inserts on LAN
Date Mon, 10 May 2010 07:09:35 GMT
WHY?

On Mon, May 10, 2010 at 1:56 PM, Viktor Jevdokimov
<Viktor.Jevdokimov@adform.com> wrote:
> We had similar experience.
>
> Problem was with TSocket as transport alone:
>
>        var transport = new TSocket("192.168.0.123", 9160);
>        var protocol = new TBinaryProtocol(transport);
>        var client = new Cassandra.Client(protocol);
>
> Using TBufferedTransport helped a lot:
>
>        var transport = new TBufferedTransport(new TSocket("192.168.0.123", 9160));
>        var protocol = new TBinaryProtocol(transport);
>        var client = new Cassandra.Client(protocol);
>
> Viktor
>
>
> -----Original Message-----
> From: Arie Keren [mailto:arie@doubleverify.com]
> Sent: Monday, May 10, 2010 8:51 AM
> To: user@cassandra.apache.org
> Subject: RE: Extremly slow inserts on LAN
>
> No - just Windows.
> So I'm going to do some experiments to isolate the cause:
> - use java client on windows
> - use linux server
> - use java client on linux
>
> Thanx
>
>
> -----Original Message-----
> From: David Strauss [mailto:david@fourkitchens.com]
> Sent: May 09, 2010 5:48 PM
> To: user@cassandra.apache.org
> Subject: Re: Extremly slow inserts on LAN
>
> From a naive (not caring about Cassandra internals) basis, the first step is to isolate
whether the problem is on the client or server side.
> Have you tried a Linux-based server or a Linux-based client?
>
> On 2010-05-09 14:06, Arie Keren wrote:
>> While making our first steps with Cassandra, we experience slow
>> inserts working on LAN.
>>
>> Inserting 7000 keys with 1 column family takes about 10 seconds when
>> Cassandra server running on the same host with the client.
>>
>> But when server runs on a different host on LAN, the same inserts take
>> more than 10 (!) minutes.
>>
>> In both cases Cassandra server contains a single node.
>>
>>
>>
>> We use Cassandra version 0.6.0 running on Windows server 2008.
>>
>> The client is .NET c# application.
>
> --
> David Strauss
>   | david@fourkitchens.com
> Four Kitchens
>   | http://fourkitchens.com
>   | +1 512 454 6659 [office]
>   | +1 512 870 8453 [direct]
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database
4628 (20091122) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>



-- 
I'm Cnan!

Mime
View raw message