You mean list a few hosts and connect them in a round robin , like Tavory said?
On Mon, Aug 16, 2010 at 8:36 PM, Thorvaldsson Justus < justus.thorvalds...@svenskaspel.se> wrote: > http://wiki.apache.org/cassandra/ClientOptions > > > > but I prefer writing my own code, trying 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ån:* Ying Tang [mailto:ivytang0...@gmail.com] > *Skickat:* den 16 augusti 2010 14:31 > *Till:* user@cassandra.apache.org > *Ämne:* Re: The entry of Cassandra > > > > Could you just recommond some higher lever libraries? > > On Mon, Aug 16, 2010 at 6:25 PM, Ran Tavory <ran...@gmail.com> 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 > connection pooling and other goodies > > > > On Mon, Aug 16, 2010 at 1:14 PM, Ying Tang <ivytang0...@gmail.com> 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 = > new TSocket("localhost", 9160) " . > > Then we operate on the database through this TTransport . > > But this operation assigns a fixed IP , so all requests 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 > > > > > > > -- Best regards, Ivy Tang