Web Server: Calculator

From OnnoWiki
Jump to navigation Jump to search

The calculator uses the following formula's:

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) 


The calculator uses the following formula's:

Traffic in megabytes per day =
    VisitorsPerDay * PagesPerVisitor * PageSize / 1048576 
Traffic in gigabytes per month =
    VisitorsPerDay * PagesPerVisitor * PageSize * 30.41 / 1073741824 
Traffic in megabytes per visitor =
    PagesPerVisitor * PageSize / 1048576 
Minimum bandwidth needed =
    VisitorsPerDay * PagesPerVisitor * PageSize * 8 / (86400 * 1000) 
Maximum bandwidth needed =
    VisitorsPerDay * PagesPerVisitor * PageSize * 8 * 3 / (86400 * 1000) 
Visitors per second =
    VisitorsPerDay / 86400 
Visitors per day =
    (input field) 
Visitors per month =
    VisitorsPerDay * 30.41 
Pages per second =
    VisitorsPerDay * PagesPerVisitor / 86400 
Pages per day =
    VisitorsPerDay * PagesPerVisitor 
Pages per month =
    VisitorsPerDay * PagesPerVisitor * 30.41 
Download time per page =
    86400 / (VisitorsPerDay * PagesPerVisitor) 
Simultaneous visitors =
    VisitorsPerDay * PagesPerVisitor / 1440