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.
DBPlusEngine-Driver | DBPlusEngine-Proxy | |
---|---|---|
Database | Any | MySQL/PostgreSQL |
Connections Count Cost | More | Less |
Supported Languages | Java Only | Any |
Performance | Low loss | Relatively High loss |
Decentralization | Yes | No |
Static Entry | No | Yes |
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.
DBPlusEngine-Driver | DBPlusEngine-Proxy | |
---|---|---|
Database | Any | MySQL/PostgreSQL |
Connections Count Cost | High | Low |
Supported Languages | Java Only | Any |
Performance | Low loss | Relatively high loss |
Decentralization | Yes | No |
Static Entry | No | Yes |
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.