Zebra is a review of the database access layer middleware used internally, which has the following function points:
Configure centralized management, dynamic refresh
Support read/write separation, sub-database sub-table
Extensive monitoring information on cat display
The functions of the three components are (Tengyun technology ty300.com):
ZEBRA-API: The most important access layer middleware (diligent learning qkxue.net)
Zebra-ds-monitor-client: Cat-based monitoring (optional)
Zebra-dao: MyBatis-based, asynchronous DAO component (optional)
Compile
1. Git clone https://github.com/dianping/zebra.git
2. Git checkout Mvn-repo
3. The mvn in the copy is dependent on the local warehouse (steps 2nd and 3 are primarily designed to use cat monitoring in zebra-ds-monitor-client)
4. MVN Clean install-dskiptests
Use
ZEBRA-API: Documentation
Zebra-ds-monitor-client
Zebra-dao: Documentation
Zebra Tutorial: Database access Layer Middleware