RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
Caching & Optmization of XF-Pro?

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
FZee



Joined: 03 Mar 2010
Posts: 76

PostPosted: Apr 16, 2010 11:53 pm    Post subject: Caching & Optmization of XF-Pro? Reply with quote

Hi,

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

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
Back to top
View user's profile Send private message
mrperl



Joined: 06 Mar 2010
Posts: 65

PostPosted: Apr 17, 2010 7:35 am    Post subject: Re: Caching & Optmization of XF-Pro? Reply with quote

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
Back to top
View user's profile Send private message
chrda



Joined: 14 Sep 2009
Posts: 258

PostPosted: Apr 17, 2010 8:12 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FZee



Joined: 03 Mar 2010
Posts: 76

PostPosted: May 02, 2010 10:53 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
FZee



Joined: 03 Mar 2010
Posts: 76

PostPosted: May 12, 2010 7:50 pm    Post subject: Reply with quote

*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
Back to top
View user's profile Send private message
komi



Joined: 27 Nov 2009
Posts: 159

PostPosted: May 12, 2010 11:16 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
FZee



Joined: 03 Mar 2010
Posts: 76

PostPosted: May 12, 2010 11:38 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
komi



Joined: 27 Nov 2009
Posts: 159

PostPosted: May 12, 2010 11:51 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
FZee



Joined: 03 Mar 2010
Posts: 76

PostPosted: May 14, 2010 3:01 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 22 Mar 2006
Posts: 1281

PostPosted: May 14, 2010 7:24 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group