Sharding-Sidecar (TODO) defines itself as a cloud native database agent of the Kubernetes environment, in charge of all the access to the database in the form of sidecar. Applicable to any kind of terminal that is compatible with MySQL and PostgreSQL protocol.Totally transparent to applications, it can be used directly as MySQL.Sharding-Proxy defines itself as a transparent database proxy, providing a database server that encapsulates database binary protocol to support heterogeneous languages.įriendlier to DBA, the MySQL version provided now can use any kind of terminal (such as MySQL Command Client, MySQL Workbench, etc.) that is compatible of MySQL protocol to operate data. Support any kind of database that conforms to JDBC standard: MySQL,Oracle,SQLServer and PostgreSQL for now.Based on any third-party database connection pool, such as DBCP, C3P0, BoneCP, Druid, HikariCP.Applicable in any ORM framework based on Java, such as JPA, Hibernate, Mybatis, Spring JDBC Template or direct use of JDBC.It can be considered as an enhanced JDBC driver, which is fully compatible with JDBC and all kinds of ORM frameworks. With the client end connecting directly to the database, it provides service in the form of jar and requires no extra deployment and dependence. Sharding-JDBC defines itself as a lightweight Java framework that provides extra service at Java JDBC layer. Therefore, at current stage, we prefer to focus on its increment instead of a total overturn. They all provide functions of data sharding, distributed transaction and database orchestration, applicable in a variety of situations such as Java isomorphism, heterogeneous language and cloud native.Īiming at reasonably making full use of the computation and storage capacity of database in distributed system, ShardingSphere defines itself as a middleware, rather than a totally new type of database.Īs the cornerstone of many enterprises, relational database still takes a huge market share. ShardingSphere is an open-source ecosphere consists of a set of distributed database middleware solutions, including 3 independent products, Sharding-JDBC, Sharding-Proxy & Sharding-Sidecar (todo).
0 Comments
Leave a Reply. |