I don't understand all the problems yet you guys are facing. Just wanted to let you know that I'm getting my feet wet with Cassandra. In a few days/weeks I'll be re-reading all your notes again :)
I'm bound to provide a production Cassandra environment based on win 2008 (I know, I know...It's better to go with Cassandra on Win than no Cassandra!) Great news group. -----Original Message----- From: Arie Keren [mailto:[email protected]] Sent: Monday, May 10, 2010 3:09 AM To: [email protected] Subject: RE: Extremly slow inserts on LAN That solved the problem! It also helps to increase the buffer size from the default value of 1024: var transport = new TBufferedTransport(new TSocket("192.168.0.123", 9160), 64*1024); Thanks a lot! -----Original Message----- From: Viktor Jevdokimov [mailto:[email protected]] Sent: May 10, 2010 8:57 AM To: [email protected] Subject: RE: Extremly slow inserts on LAN 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:[email protected]] Sent: Monday, May 10, 2010 8:51 AM To: [email protected] 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:[email protected]] Sent: May 09, 2010 5:48 PM To: [email protected] 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 | [email protected] 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 __________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
