Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Server Config Suggestions, Web, DB, MySQL, PHP
Old 12-02-2006, 05:23 AM Server Config Suggestions, Web, DB, MySQL, PHP
Junior Talker

Posts: 3
Trades: 0
Have questions for some of the hardware and db design gurus out there.

Business is growing rapidly and we are experiencing heavy traffic on several of our sites now. I guess it is a good problem to have. We are not having major problems now, but in order to prevent server slowdowns that affect our in-house operations in the future, I want to further examine the possibility of restructuring our server setup, ie: separate web and db servers. Some of the bottleneck we are experiencing now is a result of huge, improperly indexed data files and old legacy code that has inefficient queries.

I'm already going down the path of increasing bandwidth to rule that out as a bottleneck since we host our own servers in-house, but I'm also looking for some suggestions as far as restructuring our hardware to help ensure that lack of processing power is also not a bottleneck.

Here is what I'm thinking - feel free to offer your input and suggestions:

Single web server per site. This will ensure that only traffic to that site and from the associated external traffic affects processing ability as far as pages served.

Shared DB server (loaded with RAM, plus dual or more processor, SCSI drives) to handle all of the heavy MySQL query traffic. I've heard comments that separating DB activity and actual serving of the final page will increase efficiency when pages are loaded, etc... I'm not just talking about serving pages to external traffic, our internal systems are custom written and served up using php/mysql as well - so there are many processor intensive internal applications that affect the web servers as well.

I could go an extra step and create separate web and db servers for each site, which would be great for our main site that pulls the most traffic, but that seems like overkill for some of our sites with less traffic that don't necessarily have this problem.

In short, I don't ever want lack of bandwidth or processing power to be the reason a crawler would stay away from our sites or have it adversely affect our internal operations. I know that throwing money doesn't solve every problem, but it seems that some fairly snappy servers and separation of processing in regard to db functions and serving pages would help to prevent slowdowns.

It would be great to know if anyone has been down this path before and I look forward to your views on this matter.
Pinott is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-02-2006, 10:41 AM
Junior Talker

Posts: 13
Trades: 0
Pinott,

I work for a small software company that hosts a web application. We initially started out having everything on one server and ran into the same problem. Since then we have seperated our databases from our front end and the results paid off.

Sounds like you are at that point and if it is in the budget, I recommend it. Do you have multiple websites? How large are your databases?
ZenMoney is offline
Reply With Quote
View Public Profile Visit ZenMoney's homepage!
 
Old 12-04-2006, 08:17 PM
Ultra Talker

Posts: 407
Trades: 1
I have a few friends that run online RPGs. They're first step towards "expansion" was to set up a server soley for the database. It seemed to be effective.
__________________
[
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
]
Lucas3677 is offline
Reply With Quote
View Public Profile Visit Lucas3677's homepage!
 
Old 12-05-2006, 07:18 AM
dogisland's Avatar
$1,000 - $4,999 Monthly

Posts: 143
Trades: 0
Pinott, you seem to have thought about the problem and have solutions that sound resasonable.

The only extra advice I can give you would be to measure your existing setup.

- which script/query takes the longest time to run ?
- which sites are slow/ are under heavy traffic ?
- Could you be caching dynamically created pages ?

I would look at the software performance first, then with that knowledge you should have a good idea of the resources needed to host each site.
dogisland is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Server Config Suggestions, Web, DB, MySQL, PHP
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21176 seconds with 12 queries