better solution
Posted by: ello11
Date: October 18, 2004 04:38AM

I'm new to mysql
I've about 20-30 thread which have to do insert every 50ms-1s
What is the better solution

- one class with synchronized write method, cached connection and PrepareStatement
- one class with non-sychronized write method which uses PooledDataSource to obtain connection and create Statement every time

Options: ReplyQuote


Subject
Written By
Posted
better solution
October 18, 2004 04:38AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.