XFileSharing Pro - Server LoadBalancing Would Be Perfict

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

Server LoadBalancing Would Be Perfict

#1 Postby micromaster » May 04, 2010 3:18 pm

If Xfilesharing Developers Can just add this simple option to Xfilesharing next version.
really loadbalancing between the server automatically would be AWSOME.
Hope You Guys could do it !!!!!!!!!

FZee
Posts: 116
Joined: Mar 03, 2010 11:26 am

#2 Postby FZee » May 05, 2010 12:00 am

I VOTE FOR THIS TOO!!

nik0la
Posts: 102
Joined: Dec 30, 2009 1:50 pm

#3 Postby nik0la » May 05, 2010 12:33 am

i was forced to do this..my main server start crushing when getting to much traffic, so i have to disable torrents and create web1+loadbalancer+db+web2..im having some problems sometimes like "Skipped countdown" when creating new link or when i save something in admin settings..anyway main site is stable and fastest now.
I vote for this to

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm

#4 Postby chrda » May 05, 2010 8:06 pm

Use Litespeed on your main web.. cheaper for a while.
Set up your site with with apache. then make litespeed use apache conf.
Works "out of the box"

Will not work with sites that has fileserver on the same server as main web.

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#5 Postby admin » May 06, 2010 4:40 pm

What kind of loadbalacing are you looking for? Please clarify.

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

LoadBalance Between Servers

#6 Postby micromaster » May 06, 2010 9:43 pm

Like If I Have 4 Servers , each server has 200GB Worth of storage
and i need the script to Balance beteween them so i don't overload one of them.

like for instance :

Today : 8 GB of File wore Uploaded To the Site.

The 8 Gb will be distributed between the 4 servers, 2GB for each server automatically.

Got me ???

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm

#7 Postby chrda » May 06, 2010 9:46 pm

Its already buildin.. its called fileservers.

1 main web + fileservers is the good setup

Not sure how the distrubution is is set, but it randomize uploads to share the load. Not per gb, but per file if i aint mistaken.

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#8 Postby admin » May 07, 2010 4:55 am

Simple loadbalancing is already there.
It's uploading each next file onto next fileserver. So, for example if you have 2 file servers then:

file 1 goes to server 1
file 2 goes to server 2
file 3 goes to server 1
file 4 goes to server 2

..and so on..

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

Re: LoadBalance Between Servers

#9 Postby ankurs » May 07, 2010 5:37 am

micromaster wrote:Like If I Have 4 Servers , each server has 200GB Worth of storage
and i need the script to Balance beteween them so i don't overload one of them.

like for instance :

Today : 8 GB of File wore Uploaded To the Site.

The 8 Gb will be distributed between the 4 servers, 2GB for each server automatically.

Got me ???
you want 8GB file to be split on multiple servers ? and how are you going to join them and deliver ? you should better google 'load balancing'

@admin, how about using SAN or storage server and front end web servers ? is that doable with xfs ? would love to get this done

like all files are stored on backend storage boxes & front end web servers cache/read the files from storage boxes and deliver them

a smart script will check the network usage on web servers and then send the end user to the box with lowest usage

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

Server LoadBalancing Would Be Perfict

#10 Postby micromaster » May 07, 2010 11:12 am

So your saying that the script already destrebutes Uploaded files evenly between the servers?
How Come it doesnt do that with me?

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#11 Postby admin » May 07, 2010 11:47 am

It must happen of course if you didnt set file server to READONLY mode.
What is your domain name?

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

LoadBalance Between Servers

#12 Postby micromaster » May 07, 2010 3:53 pm

Quickupload.net

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#13 Postby admin » May 08, 2010 4:03 am

Just uploaded 2 files on your server and they were uploaded on different file servers: s6 and s9

peterdays
Posts: 55
Joined: Mar 10, 2010 3:56 pm

#14 Postby peterdays » May 08, 2010 9:48 am

do they destribute them based on space used or random ?

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#15 Postby ankurs » May 08, 2010 10:24 am

peterdays wrote:do they destribute them based on space used or random ?
should be based on space too