Asynchronous WRITES - Mailing list pgsql-jdbc

From andrew@pillette.com
Subject Asynchronous WRITES
Date
Msg-id 200402232013.i1NKD7230808@pillette.com
Whole thread Raw
List pgsql-jdbc
Java profiling with freeware tools can be a somewhat tricky thing, but my app appears to be spending quite a lot of
timein java.net.socketWrite, or in other words, executing various INSERT statements. 

If the DB is on another machine from the Java client, would I be able to get a speedup by INSERTing asynchronously? I
don'tcare about the return value; if things get messed up the application will find out soon enough. 

What would be the best way to do this in Java? I assume I have to create another Thread object to poll for DB INSERT
statements,but if someone has already done this, I'd like to know what to look out for. 

pgsql-jdbc by date:

Previous
From: Jim Wright
Date:
Subject: Where has the source code moved to?
Next
From: "Derek Dilts"
Date:
Subject: Jdbc3PoolingDataSource and Statement relationship???