aspose file tools*
The moose likes General Computing and the fly likes speed of client's access to server; how to determine what bandwidth size do I need Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "speed of client Watch "speed of client New topic
Author

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

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2061
Hi,

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
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: speed of client's access to server; how to determine what bandwidth size do I need