XFileSharing Pro - Server Configuration Setup.

Message
Author
micromaster
Posts: 19
Joined: Nov 08, 2009 9:55 pm

Server Configuration Setup.

#1 Postby micromaster » Aug 19, 2012 9:32 pm

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 !!

nyan
Posts: 163
Joined: Oct 28, 2010 8:01 pm

#2 Postby nyan » Aug 20, 2012 9:10 am

500 gb will fill up very fast, probably within a week if you do some advertising..
actual amount of downloaders, probably 1000 per server with nginx.

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#3 Postby PowerChaos » Aug 20, 2012 10:02 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

ufkabakan
Posts: 332
Joined: Apr 13, 2011 9:37 pm

#4 Postby ufkabakan » Aug 21, 2012 8:47 am

Dont miss Disk IO limits. Fully filled 2TB single no raid disk on high usage can read 20-25MB/sec only

edavrio
Posts: 17
Joined: Aug 17, 2012 9:00 pm

#5 Postby edavrio » Aug 21, 2012 10:45 am

ufkabakan wrote:Dont miss Disk IO limits. Fully filled 2TB single no raid disk on high usage can read 20-25MB/sec only


Depends on LINUX and Kernel Configuration. Also depends on the Mainboard, CPU and Chipset used.


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests