Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

speed of client's access to server; how to determine what bandwidth size do I need  RSS feed

Jesus Angeles
Ranch Hand
Posts: 2070
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am about to deploy my server for the first time, but am deciding which service to take.

Number of concurrent users will vary from 0 to 1000.

The biggest single webpage is of total size 200kb (includes images already).

Assumption also: my server/website does not do any time-consuming activities between requests, i.e., no search or any significant heavy server processing.

I wish to maintain response time of my website to a maximum of 1 second (1000 milliseconds).

I am considering 2 options:

1) cloud virtual machine, including internet bandwidth
> 10mbps and up; easily scaled up or down

2) my own personal server machine, buy static ip address, and business account internet bandwidth.
> 2mbps and up; expensive

How do I compute how fast or how slow is this 2mbps offer?

I prefer #2 above at this point, whereby I can run my own home server.

I will appreciate any comments.
Pat Farrell
Posts: 4686
Linux Mac OS X VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The maximum number of users, 1000 in your example, is really not important. This is a simple, classical, queueing system problem. The engineering criteria is the average number of milliseconds between requests, and the service time of the average request.

Are your estimates of 200kb using bytes or bits? Most networking quotes are in kilobits/second or megabits/second, so if you are talking about 200 k-Bytes, that is about 1.6 million bits. if you have a T1 line from your telco, which is 1.544 mega-bits/second, you can not provide a typical page under your 1 second goal.

Calculation of mean queue length is easy once you know the request inter-arrival time and the mean service time.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!