Solved

improve page loading time

Posted on 2013-06-03
2
362 Views
Last Modified: 2013-06-18
Hello,
I have a forum with about 5 million posts and the mysql database is getting bigger each day, about 30GB in size. I am hosting the php source of the forum, a lot of images about 1 image per post and the mysql database in the same server.
I contacted the company that makes the forum and they said I would need to changes my server and instead of having a powerful server like the one that I have

MemTotal:       64GB
CPU:                 Xeon 16 Cores @ 2.00 GHz

into something like 3 servers with 12GB ram and quad core.
one for source php files
one for database
one for static like images

even though these servers would be just 36 GB total ram and 12 cpu cores
would I really lower the server load and improve page loading time with apache?
0
Comment
Question by:XK8ER
2 Comments
 
LVL 18

Accepted Solution

by:
Andrej Pirman earned 500 total points
ID: 39217850
I doubt that. You would just distribute the load, but not gain any speed or response, and what is important, you would not gain in redundancy.

I would suggest, for example:
1.) Good load balancer + another one, in case first one breaks. Here are 5 mostly used:
http://www.serverwatch.com/trends/article.php/3937981/5-Load-Balancers-You-Need-to-Know.htm
Also loadbalancer.org has great solution, read about DR mode, which is fastest:
http://www.loadbalancer.org/load_balancing_methods.php#dr

Regarding SERVERS... well, this is discutable.
Did you try any of Content Distribution/Delivery Networks? For example Incapsula ir Google PageSpeed? The latest is free, caches your content on Google proxy servers and off-loads your infrastructure.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39219383
Giving the database its own cpu makes some sense.  Reducing memory does not.  However before you make an investment, you should make sure you understand where your bottle necks are; whether you need to be caching more; and are the queries fully optimized.  You may need to bring in a professional to map the traffic patterns and identify where you need to open the pipe.  It could turn out you can optimize enough to avoid having to re-configure.  It take detailed analysis; but it could save you a lot of time, money and work.

Cd&
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
linux ssh 4 59
High Available Storage based on linux 6 69
Help on running oracle SQL script in linux 3 36
How code a 301 redirect for folder files -> 1 file 2 22
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now