XFileSharing Pro - Caching & Optmization of XF-Pro?

Powerfull XFileSharing version

Moderator: admin

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

Caching & Optmization of XF-Pro?

#1 Postby FZee » Apr 16, 2010 11:53 pm

Hi,

I own two sites . One is php based file sharing and the other is XF ( this one ofcourse! :D )

my other site uses php's APC Cache to cache the php files & i asked my host to tweak the DB to make the server fast.

What sort of Caching software can i install for this script ? (XfileSharing)
Also what tweaks can be done to keep the server speedy....

(Im keeping dl.cgi because i want to restrict speeds on my 100mbps line or is that a bad idea to enable direct links ? )

Thank you Sibsoft

mrperl
Posts: 65
Joined: Mar 06, 2010 11:40 am

Re: Caching & Optmization of XF-Pro?

#2 Postby mrperl » Apr 17, 2010 7:35 am

FZee:

XFS Pro 1.7 doesn't work under mod_perl, so wait for a future release.

(Some other possible accelerators are FastCGI or PP/Speedy, but I haven't
tried those yet.)

mrperl

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

#3 Postby chrda » Apr 17, 2010 8:12 am

Some tricks to take some load of your server.
- Use CDN solution on static content as images, css, swf, js
If you do it right, you can switch between cdn and regular by changing a line in a modifed XFS config "asset_url" "images_url"

- Use website analyzers/optimizers to tune your website and find errors.
http://www.webpagetest.org/test
http://www.websitepulse.com/help/tools.php
http://tools.pingdom.com/fpt/

- use nginx mod until they make xfs work with mod_perl
Then you dont use much perl at all except for loading the file page.

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

#4 Postby FZee » May 02, 2010 10:53 pm

Hi,

According to my statistics software :: Munin ::

I have paid for a 100MBPS Eth0 port which is ummetred.

for 7 days my software only report 40MBPS is used a

I have put DIRECT LINKS for all users . and unregistered.

So what can i do make sure my server use all 100MBPS speed ....

How many users can download with 100MBPS ?

Please

Thank you

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

#5 Postby FZee » May 12, 2010 7:50 pm

*Bump*

Did anyone manage to replicate this issue ? ..... My traffic is dropping badly because my uploaders complain of low download speeds.

Alex Z is taking his time to answer my support email LOL

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#6 Postby komi » May 12, 2010 11:16 pm

FZee wrote:How many users can download with 100MBPS ?
Fully depends on their download speed and your server configuration. Also note that there is a difference between MB and Mb, in your case we're talking about 100Mb per second.

FZee wrote:Did anyone manage to replicate this issue ? ..... My traffic is dropping badly because my uploaders complain of low download speeds.
I'm currently in the same situation, can't download with full speed. Seems to be an Apache issue as downloading via FTP goes fast. I hope nginx solves this issue.

FZee wrote:Alex Z is taking his time to answer my support email LOL
Noticed the same here.

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

#7 Postby FZee » May 12, 2010 11:38 pm

Yes , 100Mb (bits per second) umetered is what i get from my host.

i uploaded a sample.zip file on my root folder ..managed to get 600Kb/sec.

But the script itself never let anyone go that far.... 100kb/sec is the best you can get .

There's nothing wrong with apache since the CPU is idle at 2% average.

I don't know what else i can do next

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#8 Postby komi » May 12, 2010 11:51 pm

100 KB/sec with direct links? That's extremely slow! Try other methods to ensure it's not related to your webserver.

In my case I'm able to download up to 2 MB/sec with difficulty. Via FTP I can get my full download speed, so I still think my problem is an Apache issue.

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

#9 Postby FZee » May 14, 2010 3:01 am

Yeah it is slow.

I use direct links for everyone. So im just trying to figure why this script can't even use the full 100mbps port or maybe i messed up some settings .

I dont know right now

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

#10 Postby admin » May 14, 2010 7:24 am

try to upload big file into site root, download it through apache and measure speed. You will see the same speed as downloading through xfilesharing.


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 1 guest