Hi,
I was wondering how many users can be served with following configuration per day.
Main Server:
Cloud 1GB 2Core 40GB Server.
2 X File Servers:
Intel Xeon E3-1220 4x3.10GHz
2x 500 GB SATA III RAID1
8 GB DDR3 ECC RAM
Ubuntu Server 11.04 64 bits
1Gbps port.
30 TB Premium Bandwidth Per Server.
Let me know what you think !!
XFileSharing Pro - Server Configuration Setup.
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
it depends on you configuration and what speed you allow your users to download
if you use nginx or apache stays the same , it just depends on the speed
to give a example
if you got 100 users downloading at 1mbit per second ( based on a online calculator is that 7,50 MB/min that you download , aka 100kbps )
then 1000 users can download at the same time with that 1GB connection ( if cpu can handle it and ram .. more connections = more cpu/ram )
now let us say that you got 1GB files
so 7,50 MB/min is around 2 hours to download 1GB
those 2 hours will no1 else be able to download a single file or even open you website
based on that amount you can start calculating what amount of users you can handle
it also depends on the filesize , speedlimit and so on
then for the cpu
The cloud server should be able to handle around 75 - 100 users at the same time (depending also on apache/nginx settings as ram is kinda low)
so 100 users per second , then up to 1000 users per file server ( based on the config with 8GB ram you should be able to handle about 300 - 500 open connections at the same time max before you run out of ram )
so splitted over 2 servers you should be able to handle 1000 users per 2 hours
now to make the final calculation
100 users per connection , as it takes 3 pages to get a download link will it take about 15 seconds per connection
so per 15 seconds you can get 100 visitors
15 * 4 = 1 min , 1 min = 400 visitors , so per 2 min you can get 800 downloads @ 1mbps
based on speed it also takes 2 hours to download a 1GB file , as the webserver will be able to show the link and be able to generate the link will the speed go slower and up to a max of 500 users per server
so my final answer would stay 1000 users based on above speed/ram
hopely is my calculation not to complicated
Greetings From PowerChaos
if you use nginx or apache stays the same , it just depends on the speed
to give a example
if you got 100 users downloading at 1mbit per second ( based on a online calculator is that 7,50 MB/min that you download , aka 100kbps )
then 1000 users can download at the same time with that 1GB connection ( if cpu can handle it and ram .. more connections = more cpu/ram )
now let us say that you got 1GB files
so 7,50 MB/min is around 2 hours to download 1GB
those 2 hours will no1 else be able to download a single file or even open you website
based on that amount you can start calculating what amount of users you can handle
it also depends on the filesize , speedlimit and so on
then for the cpu
The cloud server should be able to handle around 75 - 100 users at the same time (depending also on apache/nginx settings as ram is kinda low)
so 100 users per second , then up to 1000 users per file server ( based on the config with 8GB ram you should be able to handle about 300 - 500 open connections at the same time max before you run out of ram )
so splitted over 2 servers you should be able to handle 1000 users per 2 hours
now to make the final calculation
100 users per connection , as it takes 3 pages to get a download link will it take about 15 seconds per connection
so per 15 seconds you can get 100 visitors
15 * 4 = 1 min , 1 min = 400 visitors , so per 2 min you can get 800 downloads @ 1mbps
based on speed it also takes 2 hours to download a 1GB file , as the webserver will be able to show the link and be able to generate the link will the speed go slower and up to a max of 500 users per server
so my final answer would stay 1000 users based on above speed/ram
hopely is my calculation not to complicated
Greetings From PowerChaos