Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 52360 invoked from network); 16 Aug 2010 12:36:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Aug 2010 12:36:43 -0000 Received: (qmail 80176 invoked by uid 500); 16 Aug 2010 12:36:41 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 80069 invoked by uid 500); 16 Aug 2010 12:36:38 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 80060 invoked by uid 99); 16 Aug 2010 12:36:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Aug 2010 12:36:37 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of justus.thorvaldsson@svenskaspel.se designates 193.183.158.41 as permitted sender) Received: from [193.183.158.41] (HELO puff.svenskaspel.se) (193.183.158.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Aug 2010 12:36:30 +0000 Received: from rsbgchs01.ad.spel.se (Not Verified[193.183.158.46]) by puff.svenskaspel.se with MailMarshal (v6,8,2,9371) (using TLS: SSLv23) id ; Mon, 16 Aug 2010 14:34:10 +0200 Received: from RSBGMBS01.ad.spel.se ([172.23.1.91]) by rsbgchs01.ad.spel.se ([172.23.1.94]) with mapi; Mon, 16 Aug 2010 14:36:07 +0200 From: Thorvaldsson Justus To: "'user@cassandra.apache.org'" Date: Mon, 16 Aug 2010 14:36:06 +0200 Subject: SV: The entry of Cassandra Thread-Topic: The entry of Cassandra Thread-Index: Acs9PwFJ2IfzX2ifQHGZrtQZ1mTkLwAABgug Message-ID: <0ABFAD1D323E3C4DA9A7D542DC99F714AA1C333509@RSBGMBS01.ad.spel.se> References: In-Reply-To: Accept-Language: en-US, sv-SE Content-Language: sv-SE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, sv-SE Content-Type: multipart/alternative; boundary="_000_0ABFAD1D323E3C4DA9A7D542DC99F714AA1C333509RSBGMBS01adsp_" MIME-Version: 1.0 --_000_0ABFAD1D323E3C4DA9A7D542DC99F714AA1C333509RSBGMBS01adsp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable http://wiki.apache.org/cassandra/ClientOptions but I prefer writing my own code, trying to write something simple API work= ing with 0.7.0beta1 amt though am I the only one that thinks NOT using clie= nts like hector is simpler (in a way, to feel in control at least)? Fr=E5n: Ying Tang [mailto:ivytang0812@gmail.com] Skickat: den 16 augusti 2010 14:31 Till: user@cassandra.apache.org =C4mne: Re: The entry of Cassandra Could you just recommond some higher lever libraries? On Mon, Aug 16, 2010 at 6:25 PM, Ran Tavory > wrote: The common practice is to connect to a few hosts and send request in round = robin or other lb tactic. The hosts are symmetric so any host will do. There are also higher lever libraries that help with that as well as connec= tion pooling and other goodies On Mon, Aug 16, 2010 at 1:14 PM, Ying Tang > wrote: After reading the docs and the thrift demo , i found that if the demo ,= if we want to connect to the database , we must first do "TTransport tr = =3D new TSocket("localhost", 9160) " . Then we operate on the database through this TTransport . But this operation assigns a fixed IP , so all requests would transforme= d to this IP . And the cassandra node of this ip would load a heavy reading= load and proxy load . Do i understand this wrong , or cassandra client has other way to access= cassandra and doesn't need to assign a fixed IP? -- Best regards, Ivy Tang -- Best regards, Ivy Tang -- Best regards, Ivy Tang --_000_0ABFAD1D323E3C4DA9A7D542DC99F714AA1C333509RSBGMBS01adsp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

http://wiki.apache.org/cassandra/ClientOptions

 

but I prefer writing my own code, t= rying to write something simple API working with 0.7.0beta1 amt though am I the only= one that thinks NOT using clients like hector is simpler (in a way, to feel in = control at least)?

 

Fr=E5n: Ying Tang [mailto:ivytang0812@gmail.com]
Skickat: den 16 augusti 2010 14:31
Till: user@cassandra.apache.org
=C4mne: Re: The entry of Cassandra

 

Could you just recommon= d some  higher lever libraries?

On Mon, Aug 16, 2010 at 6:25 PM, Ran Tavory <rantav@gmail.com> wrote:=

The common practice is to connect to a few hosts and s= end request in round robin or other lb tactic. The hosts are symmetric&nbs= p;so any host will do.

There are also higher lever libraries that help with t= hat as well as connection pooling and other goodies

 

On Mon, Aug 16, 2010 at 1:14 PM, Ying Tang <ivytang0812@gmail.c= om> wrote:

   After reading the docs and the  thri= ft demo , i found that if the demo ,if we want to connect to the database , we must  first do  "TTransport tr =3D new TSocket("localhost", 9160) " .

   Then  we operate on the database thr= ough this TTransport . 

   But this operation assigns a fixed IP , so all request= s would transformed to this IP . And the cassandra node of this ip would load= a heavy reading load and proxy load .

 

   Do i understand this wrong , or cassandra client has other way to access cassandra and doesn't need to assign a fixed IP?

 



--

Best regards,

 

Ivy Tang

 

 

 




--

Best regards,

 

Ivy Tang

 

 

 

 




--

Best regards,

 

Ivy Tang

 

 

 

--_000_0ABFAD1D323E3C4DA9A7D542DC99F714AA1C333509RSBGMBS01adsp_--