Open Source Distributed Database middleware MyCat source code analysis series, middleware mycat
MyCat is an open-source Distributed Database middleware that is currently very popular. It has spent some time researching its implementation methods and internal mechanisms. Here, we will make a rough analysis on some important source codes, I hope to discuss with interested friends.
This source code analysis series focuses on code implementation, and configuration, operations, and related concepts are not emphasized.
P.S. content updated and supplemented at any time
- MyCat source code analysis series-configuration information and Startup Process
- MyCat source code analysis series-frontend and backend Verification
Remarks:
- The source code analysis based on the current stable version of MyCat1.4,: https://github.com/MyCATApache/Mycat-Server/tree/1.4
- Some English words in the source code are incorrectly spelled and will not be corrected here
- The core code is marked by color during analysis.
- Backend databases only consider MySQL
- MyCat Connection provides two modes: AIO and NIO. Because AIO requires the underlying support of the operating system, it only analyzes the NIO method.
References:
[1] MyCat Official Website: http://www.mycat.org.cn/
[2] MyCat source code: https://github.com/MyCATApache/Mycat-Server
[3] MyCat authoritative guide: http://www.mycat.org.cn/document/mycat1.5.2.pdf
To respect original results, please indicate the source of this article: http://www.cnblogs.com/fernandolee24/p/5196367.html. Thank you very much.