Re: A new JDBC driver...

From: Mikko Tiihonen <Mikko(dot)Tiihonen(at)nitorcreations(dot)com>
To: Kevin Wooten <kdubb(at)me(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: A new JDBC driver...
Date: 2013-03-12 12:52:22
Message-ID: 51061EFB789B4A45AC6598C83649B7BE9E81A78E@NBL-EXCD1-01.nebula.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Excellent progress Kevin!

I agree that it adding new low-level functionality functionality (such as new transport layer) and other optimizations to current JDBC code can be too difficult, making rewrite the only feasible way forward.

I like your usage of Netty as the IO layer. It really allows us to experiment in the future much more with the API we provide to applications. I also like the usage of the binary protocol whenever possible.

Some ideas I have had (in addition to the ones you have already implemented):
- create an asynchronous API for JDBC extensions with futures or asynchronous result row processing
- add pipelining to connections thus allowing better use of connections (works best with simple auto-commit queries)
- integrate async api to vert.x
- integrate async api to Akka

I will definitely have a more detailed look at the code.

-Mikko

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2013-03-12 12:52:47 Re: A new JDBC driver...
Previous Message Patric Bechtel 2013-03-12 11:32:44 Re: A new JDBC driver...