http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
What can I do to avoid this situation?
Originally posted by uj johansson:
Your problem may be the result of the so called "don't optimize early" dogma. It says you shouldn't bother at all with efficiency. It says wait until the project is over and then identify the bottleneck. When you remove it your program will be as fast as lightning.
Anyway it never works. Regardless of what the "don't optimize early" crowd told you you're now stuck with inefficient code. The next time listen to real programmers.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
There is no emoticon for what I am feeling!
Originally posted by Jeff Albrechtsen:
I don't understand the comments about connection pooling in the context of a simple desktop app that is connecting to a database. What good would a thread pool be versus just hanging on to a connection and reconnecting if it times out?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
If you are having performance lack on DB side then you can use stored procedures. It would be faster.
Originally posted by Ilja Preuss:
Well, how is this different from a connection pool of the size one?
There is no emoticon for what I am feeling!
Talk sense to a fool and he calls you foolish. -Euripides A foolish tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|