[Heisenberg sub-library and sub-table based on cobar]

Heisenberg is a sub-database sub-table middleware server based on the mysql protocol.

High performance distributed database for mysql, define shardings by velocity&groovy scripts, can be expanded nodes flexible...

The powerful and easy-to-use mysql sub-database and sub-table middleware, adapted from cobar, combines the advantages of cobar and TDDL, making its fragmentation strategy into a sub-database table strategy, saving a lot of connections

 

Its advantages: The sub-database and sub-table are separated from the application. The sub-database table reduces the number of db connections like a single-database table. The pressure of hot restart configuration can be expanded horizontally. Comply with the native protocol of Mysql, read and write separation, no language restrictions, mysqlclient, c, java, etc. can be Using the Heisenberg server, you can view the number of connections, thread pools, nodes, etc. through management commands, and you can adjust the sub-database sub-table script using velocity to customize the sub-database table, which is quite flexible.

 

Heisenberg is a sub-database and sub-table middleware server based on MySQL protocol written by Xiong Zhao (id: brucexx) of Baidu. It supports various flexible (velocity script customization) sub-database and table rules, and can be applied It is isolated from the sub-database and sub-table, and dbproxy is performed for mysql, which reduces the IO pressure of db connection, and can achieve read-write separation and manual switching of replication

 



 

Its advantages:

The sub-database and sub-table are separated from the application, and the sub-database table is the same as using a single-database table

Reduce the pressure on the number of db connections

Hot restart configuration

Can be scaled horizontally

Comply with Mysql native protocol

No language restrictions, mysqlclient, c, java, etc. can be used

The Heisenberg server can be viewed through management commands, such as the number of connections, thread pools, nodes, etc., and can be adjusted

Use velocity's sub-database and sub-table script to customize sub-database table, which is quite flexible



 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326445263&siteId=291194637