XFileSharing Pro - multi server question

Message
Author
fuorissimo
Posts: 32
Joined: Nov 16, 2012 5:02 pm

multi server question

#1 Postby fuorissimo » Nov 18, 2012 5:38 pm

hello. i need more info regarding multi server.

My need is this:

server1 (main) with XFS installed, on datacenter 1. like in asia
server2...3...4 (storage) in datacenter, example in africa

when user login and upload file, are stored in africa. so your script use ip of storage server?

but when they donwload, files are downloaded from africa or using server1? offcourse that i need the first solution, so the only bandwith used is from the storare. but when user download, what link see? thirs level domain like download.sharingsite.com ?

the question is because the server 1 have lees bandwith.

trinsic
Posts: 149
Joined: Dec 21, 2009 9:24 am

#2 Postby trinsic » Nov 19, 2012 9:48 pm

No downloads go through server1 and you may host it on a low bandwidth server.

Server2 links will be downloaded directly from Server2.

fuorissimo
Posts: 32
Joined: Nov 16, 2012 5:02 pm

#3 Postby fuorissimo » Nov 20, 2012 3:08 am

trinsic wrote:No downloads go through server1 and you may host it on a low bandwidth server.

Server2 links will be downloaded directly from Server2.

very good. :D


so if the main site is www.filesharing.com the url of downloads are s1.filesharing.com/filename ?

trinsic
Posts: 149
Joined: Dec 21, 2009 9:24 am

#4 Postby trinsic » Nov 20, 2012 3:56 am

Correct.

fuorissimo
Posts: 32
Joined: Nov 16, 2012 5:02 pm

#5 Postby fuorissimo » Nov 21, 2012 3:19 am

ty

yikjaan
Posts: 24
Joined: Feb 27, 2009 10:20 am

#6 Postby yikjaan » Nov 22, 2012 5:08 pm

is that mean for this scnario, the first server can be using VPS just to host the site and basic functionality performing while server 2 from other centre should be concentrate on storage basis to cater for users upload or downloading?

trinsic
Posts: 149
Joined: Dec 21, 2009 9:24 am

#7 Postby trinsic » Nov 22, 2012 9:38 pm

Yep, I run my main site on a 512MB VPS with 70k+ downloads.

However I do have mods running. Letting nginx take care of the downloads instead of XFS will speed it up quite a bit.

The nginx mod is for the file servers but plays a part in how the main server will process downloads. Without nginx it is possible for the download page to timeout, especially if you have lots of downloads.

yikjaan
Posts: 24
Joined: Feb 27, 2009 10:20 am

#8 Postby yikjaan » Nov 23, 2012 12:46 am

trinsic wrote:Yep, I run my main site on a 512MB VPS with 70k+ downloads.

However I do have mods running. Letting nginx take care of the downloads instead of XFS will speed it up quite a bit.

The nginx mod is for the file servers but plays a part in how the main server will process downloads. Without nginx it is possible for the download page to timeout, especially if you have lots of downloads.

It was a good point. But when come to licensing. Putting vps is to host xfs site while server 2 is for storage, do we need to have 2 license xfs?

I try to look at xfs admin site demo but seems server section is not available.

Could someone share how this can in place and which effort or approach should be place and configure to minimal the cost while increasing the performance?

In this case i assume all processing will be take place in server 2 instead on the vps right?

trinsic
Posts: 149
Joined: Dec 21, 2009 9:24 am

#9 Postby trinsic » Nov 23, 2012 2:40 am

You only need one license per site, file servers don't need licenses.

Main server will do all processing except for uploading.

yikjaan
Posts: 24
Joined: Feb 27, 2009 10:20 am

#10 Postby yikjaan » Nov 24, 2012 4:52 pm

any expert here willing to talk to me via msn?