-6

I have been making my very first web application, and I am using PHP to develop it.

I can see my VPS being able to flawlessly handle some decent amount of requests, even though it does few SQL queries on every request

I understand this is a very small traffic, how can I measure upon this?

Do I really need similar hardware to run a website with lower volume than StackExchange, yet with a considerable amount of users?

I am basically trying to get an idea on how resource intensive can a request be, and/or how much resources does one need for a specific amount of requests or users. I have entirely no idea.

3
  • 1
    What you're asking is "do I need the same hardware as one of the most popular sites on the Internet?" - of course not. Why would you?
    – MDMarra
    Jan 8, 2016 at 12:14
  • @MDMarra Just because I don't know what is the actual server load cost of a web request or bunch of them
    – OverCoder
    Jan 8, 2016 at 12:17
  • If this really seems to fit in SuperUser, I think staff should migrate this to SuperUser.., I didn't know that we can ask such questions in SuperUser..
    – OverCoder
    Jan 8, 2016 at 12:35

1 Answer 1

3

You seem to totally ignore that Stackexchange sites are not "higher popularity" but millions of times more than you will ever have. A very small number multiplied by some millions still can be large.

On top, "all that hardware" also includes preparing for a total failure. BASIC statistics says you need 3 x your normal load in component to handle disaster - that strikes you while some machines are out for updating. Double redundancy is a standard approach. Which cuts down the hardware to one third already to handle the load.

9
  • Ah right, so basically a third of these hardware is enough to power SE huh? Okay so this way a normal high-end computer is really enough to power a website with that has around few thousand queries per day?
    – OverCoder
    Jan 8, 2016 at 12:06
  • @OverCoder You are aware this site is about BUSINESS administration, not some dude too cheap to host a small volume website? Superuser.com for you.
    – TomTom
    Jan 8, 2016 at 12:10
  • I expect my site to grow up to have a very large volume, I just wanted to know what kind of servers do I need for the next step of my website and what are my requirements to run my website
    – OverCoder
    Jan 8, 2016 at 12:14
  • There's no one-answer-fits-all, scaling is one of the most complex issues in IT - to be honest it doesn't sound like your kind of thing. If your site does take off, and it's making you money, then you need to get in a sysadmin who can worry about the scaling for you - you focus on the web coding and business side.
    – Chopper3
    Jan 8, 2016 at 12:24
  • Today you can use cloud services for your production. If it's well coded and set up, adding performance is as easy as paying more money. The good part is that if your usage goes down later on, then you can pay less.
    – Law29
    Jan 8, 2016 at 12:28

Not the answer you're looking for? Browse other questions tagged .