etrader Posted April 1, 2009 Share Posted April 1, 2009 I have two websites with the same script (based on Joomla), one hosted on a shared hosting, and one on a dedicated server. As the scripts are identical, it is expected to have the same speed for both websites, but the site hosted on the shared hosting is about 3 times faster. As the server speeds are similar (based on download speed), I think it is due to the apache configuration, as it takes a longer time to read the script from the server. Do you have a solution to improve the speed of a fresh apache installed on a server ? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/152149-improving-server-speed/ Share on other sites More sharing options...
steviewdr Posted April 2, 2009 Share Posted April 2, 2009 It could be the MySQL database. Typically shared hosting servers have fast mysql db's, where as a dedicated server has to use its own. Try this: http://sourceforge.net/projects/mybench -steve Quote Link to comment https://forums.phpfreaks.com/topic/152149-improving-server-speed/#findComment-799423 Share on other sites More sharing options...
etrader Posted April 2, 2009 Author Share Posted April 2, 2009 Thanks Steve My guess is this too, but the software you introduced is quite old and in alpha version. Not very safe for a live website. Quote Link to comment https://forums.phpfreaks.com/topic/152149-improving-server-speed/#findComment-799838 Share on other sites More sharing options...
steviewdr Posted April 5, 2009 Share Posted April 5, 2009 Indeed, that mybench script is old. It worked fine for me, albeit I just ran it twice to quickly compare the performance of 2 mysql servers. Anyways, if you want to do some real testing of your server take a look at: http://httpd.apache.org/docs/2.0/programs/ab.html http://dev.mysql.com/doc/refman/5.0/en/mysql-benchmarks.html -steve Quote Link to comment https://forums.phpfreaks.com/topic/152149-improving-server-speed/#findComment-801891 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.