Ssdbj
The SSDBJ is a driver that supports SSDB NoSQL db clusters.
Functions: 1, SSDB database connection Pool 2, support multiple SSDB database Master-slave cluster 3, support the internal cluster of the master and slave load Balancing, load balancer temporarily support 4 mode (Random Round_robin round_ Robin_weight random_weight) 4, the realization of read and write separation 5, the support of slave in the cluster to obtain not_found from the master again directly obtained 6, support synchronization is not completed when the slave read the error case, Try from master or repeat in slave. The number of attempts can be modified in the configuration file.
Specific reference Src/test/resource/ssdbj.xml
The SSDBJ provides 3 ways to use:
1, directly create the connection manually, you can refer to Src/test/java/ssdbjtest.java 2, using a single library connection pool, you can refer to Src/test/java/ssdbpooltest.java 3, using cluster mode, you can refer to src/test/ Java/ssdbclustertest.java
The configuration file for cluster mode can refer to Src/test/resource/ssdbj.xml
Who ' s using SSDBJ?
Vocational network
SSDBJ a driver that supports SSDB NoSQL DB cluster