Best Server Hosting Technology for unscaled code

General Tech Technology & Software 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

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?

profilepic.png
manpreet 2 years ago

 

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.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.