Google News
logo
CouchDB - Interview Questions
Briefly explain the two TCP ports used to listen to requests
The port numbers which have been configured are Port 11210 and Port 11211. The explanations have been mentioned right below.
 
* Firstly, Port 11210 happens to be a port that is openly accessible to the clients implementing a version of 2.0 of memcapable API. These are the ‘vBucket aware’ client. They are depending and hashing algorithm to the map keys to an appropriate ‘vBuckets’ number. Later on, the vBuckets are mapped to the respective server and thereby provides a coating of indirection that enables the rebalancing of the vibrant cluster. Also, it offers replication, failover, as well as group expansion or contraction.

* Secondly, Port 11211 happens to be the Memcached port number which processes the request from the clients guiding 1.0 version of API requirement. These clients depend on the consistent algorithm to the map keys in order to serve a catalog for length server.
Advertisement