Open J Proxy
Open J Proxy is the first open source Type 3 JDBC driver and database proxy that increases performance and resiliency, enables you to run a smaller database, and delivers client-side load balancing & failover — no external load balancer required. Cloud agnostic, Apache 2.0 licensed.
A proxy layer between your applications and database unlocks significant operational advantages
A database proxy centralises connection pooling and traffic management, reducing connection overhead and latency. It also acts as a resilience layer — isolating application instances from database failures and preventing cascading outages, so your application stays responsive under pressure.
OJP's built-in backpressure mechanism absorbs traffic spikes by queuing requests intelligently rather than forwarding every burst directly to the database. In most use cases this means you can right-size — and therefore reduce the cost of — your database instance without sacrificing reliability.
OJP supports every database that provides a standard JDBC driver — PostgreSQL, MySQL, Oracle, SQL Server, MariaDB, DB2, H2, CockroachDB, and beyond. If a JDBC driver exists for your database, OJP works with it.
OJP goes further than traditional database proxies — delivering unique capabilities no other open source solution provides
Scale your applications freely without overwhelming your database. OJP's intelligent connection pooling prevents connection storms.
Circuit breakers, backpressure, and slow query segregation ensure your database stays healthy under any load.
Simply swap your JDBC driver and update your connection URL. No application code changes required.
Built on HikariCP with optimized connection pooling. Minimal overhead with maximum throughput.
Works with every database that offers a JDBC driver — PostgreSQL, MySQL, Oracle, SQL Server, MariaDB, DB2, H2, CockroachDB, and more. One proxy for your entire database estate.
Integrated monitoring and query tracking. Know what's happening in your database layer.
Full support for distributed transactions. Build reliable, scalable enterprise systems.
Works across any cloud provider. Not locked into vendor-specific solutions. True freedom.
OJP delivers the first open source Type 3 JDBC driver with native client-side load balancing and automatic failover. Traditional database proxies require an additional external load balancer; OJP handles it natively — reducing infrastructure complexity and cost.
gRPC + Protocol Buffers API means services in any language can use OJP's benefits.
The numbers speak for themselves
Three simple steps to protect your database
Deploy the OJP server using Docker or standalone JAR
docker run --rm -d --network host \
rrobetti/ojp:0.3.1-beta
Include the OJP JDBC driver in your project
<dependency>
<groupId>org.openjproxy</groupId>
<artifactId>ojp-jdbc-driver</artifactId>
<version>0.3.1-beta</version>
</dependency>
Prefix your existing JDBC URL with OJP
jdbc:ojp[localhost:1059]_
postgresql://user@host/db
Join the teams building reliable, high-performance Java applications