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