Notice: You have been identified as a bot, so no internal UID will be assigned to you. If you are a real person messing with your useragent, you should change it back to something normal.
Topic: Nerd Porn: complex capacity modeling for sophisticated web applications
protip !!pMmAiEwOm started this discussion 15 years ago#8,960
I’ve posted some nerdy and detailed reports that I have written up, previously. Here’s one I just completed, today, that attempts to create a model for projecting the required hardware that would allow a web application to improve and expand. This is detailed and nerdy.
The application acts like a multi-school intranet for ~300 teachers. The publicly-accessible part of the sites act like regular school websites where each teacher can post any number of pages and documents. It also works like a private social network, as the schools are small and spread throughout the US, and the staff has very few opportunities to collaborate and learn from each other.
Right now, this is all hosted on one server at Rackspace, but the foundation that runs the schools plans to grow and the capability of this server will soon be exceeded. Our goal is to do this, predictably, without spending too much money.
inb4 rage and Leo Vegas
Here’s the final result from crunching the numbers…
SCHOOL TRAFFIC PROJECTION
(student count) * (staff count * 16 times more load) = “person†count
(person count) * (~378 page views per person per year) = annual pageviews
(annual pageviews) * (0.75 most of the traffic) / (1200 hours) = “design target†pageviews/hour for this school
EXAMPLE FROM ONE SCHOOL
1100 * (100 * 16) = 2600
2600 * 378 = 982800
982800 * 0.75 / 1200 = 614.25 “design target†maximum pageviews in one hour
protip !!pMmAiEwOm (OP) double-posted this 15 years ago, 31 seconds later[^][v]#157,915
protip !!pMmAiEwOm (OP) triple-posted this 15 years ago, 17 seconds later, 48 seconds after the original post[^][v]#157,916
protip !!pMmAiEwOm (OP) quadruple-posted this 15 years ago, 55 seconds later, 1 minute after the original post[^][v]#157,917
…and here are the assumptions from which these formulas were guesstimated…
~75 percent of the traffic happens within 1200 hours. This is (365 days) * (75 percent is a school year) * (5 days in a week are school days) * (6 hours in a day have most of the visitors).
One staff member currently produces as much server load as 16 students. This is because staff perform CMS actions that are approximately eight times more expensive (average response times from New Relic) than front end content and their browsing habits (more pageviews and more visits) are approximately twice as many per “person.†(And the front end could become 10+ times faster when cached for public users!)
A medium size school with a “typical†website sees around 500,000 pageviews each year. (600 students and 45 staff)
protip !!pMmAiEwOm (OP) quintuple-posted this 15 years ago, 16 seconds later, 1 minute after the original post[^][v]#157,918
</infodump>
dreamworks joined in and replied with this 15 years ago, 4 minutes later, 6 minutes after the original post[^][v]#157,920
is this legal
protip !!pMmAiEwOm (OP) replied with this 15 years ago, 3 minutes later, 9 minutes after the original post[^][v]#157,922