|
Posted by Sanders Kaufman on 11/16/07 03:09
"Lew" <lew@lewscanon.com> wrote in message
news:g4mdnTWIiPpiYKHanZ2dnUVZ_s-pnZ2d@comcast.com...
> NC wrote:
>> Both PHP and Java work well with Oracle; when it comes to MySQL,
>> however, Java (at least in its Tomcat implementation) tends to have
>> performance issues. One widely publicized example is Friendster; the
>> performance problems in its Linux/Tomcat/MySQL stack were so pervasive
>> that the whole application had to be rewritten in PHP.
>
> Could you give some specific citations how Java has "performance issues"
> with MySQL, and why it would differ from Java's performance with Postgres
> or Oracle?
I had an issue with the load-time for the java runtime.
I did a site that only got a few hits per month, but on ONE day, it would
get like a thousand.
When people weren't hitting it all the time, they'd experience as much as 30
seconds delay while the runtime (or whatever) booted up (or whatever).
It was a teeny, tiny, simple servlet - like 10 lines of code.
But if nobody hit it in a while, the first hit would be slllloooowwww.
> The only thing that could affect performance between Java and a database
> would be the JDBC driver. (Application code issues we will take as
> equivalently dangerous be it Java or PHP.) MySQL provides their own JDBC
> driver.
>
> --
> Lew
Navigation:
[Reply to this message]
|