Jump to content

system requirements on separated systems -- apache/php & mysql


aunquarra

Recommended Posts

I've been developing with mySQL/php for a few years, and from a software standpoint, I'm comfortable. But I'm looking at building some servers for an application, and I'm wondering where I should invest the money. Specifically, I'll have a db-only server and the front-end web server.

 

I know that mySQL will love every byte of RAM I can give it, but in the past, I've only worked where I was connecting with localhost. So I'm not sure how much of that was utilized by the mySQL server and how much was utilized by the mySQL client inside php...

 

I also know that a system requirements question is hard to answer without at least some knowledge of how the db application is built. Well, it's all myisam tables, each with auto_increment primary keys which are used (and indexed) frequently in other tables for lots and lots and lots of left joins (simple two-table joins in most cases, but unfortunately I've had to do three table joins a couple times). As a rule, I try to keep things ridiculously efficient. :)

 

So, I guess my question is this: if I build a separate mySQL server and web server, what should be the hardware focus on each? If I understand everything correctly, I should get a couple great multi-core CPUs for the web server and a reasonable minimum of RAM, while getting a meager processor for the mySQL box and throwing every penny left in my budget at RAM for it. Is that about right?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.