By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,278 Members | 1,359 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,278 IT Pros & Developers. It's quick & easy.

PHP vs Java performance on MySQL

P: n/a
Does PHP work better than Java with MySQL? What are pros and cons of using
PHP vs Java? Which one is faster?
Can someone share the experience or point me to some good white papers or
benchmarks? Thanks.
Jul 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I can't really give you details because I never made any benchmarks, but
I don't think there is any difference. PHP uses the MySQL client
library, and if you use native JDBC drivers for MySQL, you end up using
the exact same library. In both cases, the slow down does not come from
the client library anyway, it comes from the server actually processing
the request (which isn't long anyway, in most cases).

At that level, the language you choose for your application is a matter
of convenience.

--
Louis-Philippe Huberdeau

Rajesh Kapur wrote:
Does PHP work better than Java with MySQL? What are pros and cons of using
PHP vs Java? Which one is faster?
Can someone share the experience or point me to some good white papers or
benchmarks? Thanks.


Jul 16 '05 #2

P: n/a
"Rajesh Kapur" <rk****@mpr.org> wrote in message news:<3f*********************@newsreader.visi.com> ...
Does PHP work better than Java with MySQL? What are pros and cons of using
PHP vs Java? Which one is faster?
Can someone share the experience or point me to some good white papers or
benchmarks? Thanks.

I wrote a content management system in PHP/MySQL to work in hosted
environments on a variety of machines. But now I have my own server to
work with. I'm wondering if the CMS would run faster if I rewrote it
in Java? I wrote the CMS mostly as OO, so it would be fairly easy to
port, I think.
Jul 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.