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