SSDBJ a driver that supports SSDB NoSQL DB cluster

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.