Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Ok so i changed my question to make it more clear. If I have a social networking site with 1000 users online at the same time what would be a better solution. A dedicated server with one box? or a cluster virtual dedicated server on a cluster? Which one is actually better? I feel like the hosting business writes too many articles that are misguiding people. So what would be a step before cloud computing?

share|improve this question
1  
"Can someone guid me"? Sure! d294b9fc-2efa-45e6-8a0b-35ce69a238fb -- that one's yours. –  tylerl Oct 9 '10 at 1:11
    
what is this??? –  Neo Oct 9 '10 at 1:50
1  
    
+1 for being funny, I meant guide! –  Neo Oct 15 '10 at 20:00

1 Answer 1

The first thing I would do is split the DB off onto its own server, You say your code wont "scale". I can tell you from countless years of scaling the un-scalable that you're wrong.

You can move the DB off onto its own server, and then if it's still an issue you can add MySQL replication and use MySQL Proxy to drive read requests to the slaves and write requests to the master.

To scale front end you can add more web servers, if it is using on-disk sessions then you can use sticky load balancing. If the problem is that of uploaded media then you can use NFS.

It all really depends on what is at the core of your pain.

As I say I have been doing this for years and I have found very few applications that require any code changes in order to realize instant performance gains.

share|improve this answer
    
changed my question. –  Neo Oct 15 '10 at 20:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.