Tuesday 15 May 2012

Cassandra connection pooling using hector -


How do I create a connection pool for the cassandra using Hector? Someone can give a simple example for this, I searched the net, but no solution was found.

Hector handles for you from them:

In Hector The basic design hectare of connection pooling logic is to build a master pool of individual pool of connections based on the number of cadres nodes that are clearly identified. For example, if we have configured three cadence nodes, there will be three different pool connections in the echoconnection manager. One for each node.

...

The built-in HConnectionManager as well as host-specific pools for localhost: 9160 will be automatically created if they are not already present. / P>

You can also read through all possible means of connection and pooling settings.

No comments:

Post a Comment