Categories
ARPlaybook TI-architecture

Simple Capacity Calculator

Finding out how much traffic your web server can handle can be hard. This simple calculator gives you a head start when creating a good architecture for web server. Given the upload speed it will calculate the maximum number of visitors you can handle. To allow for peaks the calculator takes a 300% overhead margin into account.

[bms-capacitycalulator]

The calculator uses the following formulas:

  • Bandwidth = ConnectionBandwidth * 100 / OverheadMargin
  • Traffic in Megabytes per day = Bandwidth * 86400 * 1000 / (8 * 1048576)
  • Traffic in Gigabytes per month = Bandwidth * 86400 * 1000 * 30.41 / (8 * 1073741824)
  • Visitors per second =Bandwidth * 1000 / (PagesPerVisitor * PageSize * 8)
  • Visitors per day = Bandwidth * 86400 * 1000 / (PagesPerVisitor * PageSize * 8)
  • Visitors per month = Bandwidth * 86400 * 1000 * 30.41 / (PagesPerVisitor * PageSize * 8)
  • Pages per second = Bandwidth * 1000 / (8 * PageSize)
  • Pages per day = Bandwidth * 86400 * 1000 / (8 * PageSize)
  • Pages per month = Bandwidth * 86400 * 1000 * 30.41 / (8 * PageSize)
  • Download time per page = PageSize * 8 / (Bandwidth * 1000)
  • Simultaneous visitors = 60 * Bandwidth * 1000 / (PageSize * 8)