The amount of websites this web server can take care of?
How do you do Load Testing and Capacity Planning for Web Sites
I have an individual webserver (committed) which has 2GB RAM, 500 GB HDD, Unlimited Bandwidth.
Presently there have to do with 15 websites. Some websites get concerning 1000 hits daily and also the most affordable ones obtains around 150 daily.
A lot of the websites are wordpress blog sites and also others are asp.net applications. All the websites are not "hefty".
My inquiry is the amount of even more internet sites can my webserver take care of? I am webdeveloper so what are things (cut specification) which I should take into consideration prior to renting a web server for a webstite?
If you are offering fixed materials (either html, or html created by something like portable type) after that the solution is, for any kind of modern equipment, a whole lot. Where a whole lot is possibly gauged in 10s of numerous fixed demands daily.
Because sort of arrangement, the first constraint you'll face will certainly be the dimension of your web servers link to your information facility. The majority of committed web server suppliers will certainly start you off with a 10mbit link, which is possibly the first point that will certainly max out if you come close to the variety of demands priced estimate over. Usually they will certainly change you to a 100mbit port for little or no adjustment, yet realize this simply suggests you have a 10x increase in just how promptly your transmission capacity cap (if you have one) can be worn down. Pay attention and also check your month-to-month useage very closely, lest you pay huge excess costs.
So, as soon as you've obtained a 100mbit link the next possible trouble will certainly be the rate of obtaining your information from the disk drive to the network. Also at 100mbit that is still just 12mb per 2nd from the disk drive, which is unimportant for modern equipment. Offered a suitable quantity of free memory (for disk cache) and also an excellent mix of documents dimensions (from a couple of hundred bytes for your favicon.ico to a couple of hundred kb for a large image) you'll still possibly cover out a 100mbit link prior to striking significant load.
Nonetheless, every one of this is thinking a website that offers fixed web content, which is virtually never ever real. If you are making use of an internet structure like Django, Rails, Grails or any one of the hundreds around after that your first bottlekneck will certainly be CPU, the 2nd will certainly be memory, and also the 3rd will certainly be the quantity of concurrency your application can take care of.
There's no clear-cut solution for that inquiry as it 100% relies on load and also attribute use of those websites. Additionally, take into consideration that load could transform with time, so you can not intend entirely by simply considering existing use patterns.
The most effective suggestions I can offer is to check the existing use and also attempt ahead up with some ordinary varieties of load/visitors. After that prepare for a secure margin you intend to have, and also rent out internet sites/ acquire web servers as necessary.
Look at your cpu use and also source intake throughout peak times and also throughout the day. Extrapolate from their to the amount of even more websites would certainly bring the web server to no greater than 75%, at one of the most. Go on checking this number as you add extra websites.
You do not intend to push the restriction, given that the much less of a limit you have, one website that has a wedding day or some ineffective code (ie : the website comes to be "hefty") can lower your equipment if you are not mindful.
I might be absolutly incorrect below yet from the little experince i have actually had managing committed internet servers i can claim hosting internet sites is not virtually as source extensive as some individuals assume.
If you have an at the very least a twin core the CPU traffic jam need to be great for some time so possibly the traffic jam you would certainly be bothered with is the HDD traffic jam which is dealt with by the ol "Throw ram at it" action.
The only actual means to recognize is seeing the statistics and also when you start seeing that a traffic jam is creating, individuals are obtaining timeouts or lacking sources after that its time to do a little updating or take into consideration contracting out.