Logo
Application Scenarios

Application Scenarios #

Independent DBPlus Engine-Driver products deployment #

As the first product and the predecessor of DBPlusEngine, DBPlusEngine-Driver is a lightweight Java framework that provides extra services at Java JDBC layer.

With the client end connecting directly to the database, it provides services in the form of jar and requires no extra deployment and dependence. It can be considered as an enhanced JDBC driver, fully compatible with JDBC and all kinds of ORM frameworks.

  • Applicable to any ORM framework based on JDBC, such as JPA, Hibernate, Mybatis, Spring JDBC Template or direct use of JDBC.
  • Supports any third-party database connection pool, such as DBCP, C3P0, BoneCP, HikariC.
  • Supports any kind of JDBC standard database: MySQL, PostgreSQL, Oracle, SQLServer and any JDBC adapted databases.

ShardingSphere-JDBC Architecture

DBPlusEngine-DriverDBPlusEngine-Proxy
DatabaseAnyMySQL/PostgreSQL
Connections Count CostMoreLess
Supported LanguagesJava OnlyAny
PerformanceLow lossRelatively High loss
DecentralizationYesNo
Static EntryNoYes

DBPlusEngine-Driver is suitable for java application.

Independent DBPlusEngine-Proxy products deployment #

DBPlusEngine-Proxy is the second product of DBPlusEngine. It is a transparent database proxy, providing a database server that encapsulates database binary protocol to support heterogeneous languages. Currently, MySQL and PostgreSQL (compatible with PostgreSQL-based databases, such as openGauss) versions are provided.

It can use any kind of terminal (such as MySQL Command Client, MySQL Workbench, etc.) that is compatible with MySQL or PostgreSQL protocols to operate data, making it friendlier to DBAs

  • Totally transparent to applications, it can be used directly as MySQL/PostgreSQL.
  • Applicable to any kind of client end that is compatible with MySQL/PostgreSQL protocol.

ShardingSphere-Proxy Architecture

DBPlusEngine-DriverDBPlusEngine-Proxy
DatabaseAnyMySQL/PostgreSQL
Connections Count CostHighLow
Supported LanguagesJava OnlyAny
PerformanceLow lossRelatively high loss
DecentralizationYesNo
Static EntryNoYes

The advantages of DBPlusEngine-Proxy lie in supporting heterogeneous languages and providing operational entries for DBAs.

Hybrid deployment with DBPlusEngine-Driver and DBPlusEngine-Proxy #

DBPlusEngine is an ecosystem consisting of multiple endpoints together. Through a mixed use of DBPlusEngine-Driver and DBPlusEngine-Proxy, and a unified sharding strategy by the same registry center, DBPlusEngine can build an application system that is applicable to all kinds of scenarios. Architects can conveniently adjust the system architecture to suit their business requirements.

ShardingSphere Hybrid Architecture