Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

polite file request queuing

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Problems with a secure login.  
Author Message
klops

External


Since: Sep 28, 2004
Posts: 2



(Msg. 1) Posted: Tue Sep 28, 2004 6:52 pm
Post subject: polite file request queuing
Archived from groups: alt>apache>configuration (more info?)

Hi there,

I am looking for any solution for apache web server that makes me able to
set up request queuing in a civilized way. Users that are not able to be
served should be redirected to appropriate page rather than obtaining
timeout to their browsers.
Is there a module for apache to deal with it?


thanks in advance,
Rafal

 >> Stay informed about: polite file request queuing 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Tue Sep 28, 2004 6:52 pm
Post subject: Re: polite file request queuing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-09-28, klops <klops.DeleteThis@poczta.onet.pl> wrote:
 > set up request queuing in a civilized way. Users that are not able to be
 > served should be redirected to appropriate page

To receive a 'redirect' response they have to be served, otherwise
how can they receive a response? If your server is overloaded is time
to look for a bigger machine.

Davide

--
MS-DOS didn't get as bad as it is overnight -- it took over ten years
of careful development<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: polite file request queuing 
Back to top
Login to vote
alvaro_quitar_1

External


Since: Oct 31, 2003
Posts: 86



(Msg. 3) Posted: Tue Sep 28, 2004 8:00 pm
Post subject: Re: polite file request queuing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

*** Davide Bianchi wrote/escribió (28 Sep 2004 14:55:24 GMT):
 > On 2004-09-28, klops <klops.DeleteThis@poczta.onet.pl> wrote:
  >> set up request queuing in a civilized way. Users that are not able to be
  >> served should be redirected to appropriate page
 >
 > To receive a 'redirect' response they have to be served, otherwise
 > how can they receive a response? If your server is overloaded is time
 > to look for a bigger machine.

I suppose he wants to implement a queue system for large downloads, like
the one used in fileplanet.com


--
-- Álvaro G. Vicario - Burgos, Spain
-- Thank you for not e-mailing me your questions
--<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: polite file request queuing 
Back to top
Login to vote
klops

External


Since: Sep 28, 2004
Posts: 2



(Msg. 4) Posted: Wed Sep 29, 2004 6:30 pm
Post subject: Re: polite file request queuing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > I suppose he wants to implement a queue system for large downloads, like
 > the one used in fileplanet.com

You've recognized my goal excelently.
Some people on Polish linux usenet group told me to deal with it using a
script that should be written e.g. in PHP.
I haven't considered earlier such a solution. What do you thing about it?

Regards,
Rafal<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: polite file request queuing 
Back to top
Login to vote
jring

External


Since: Jun 30, 2003
Posts: 154



(Msg. 5) Posted: Wed Sep 29, 2004 6:52 pm
Post subject: Re: polite file request queuing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

  > > I suppose he wants to implement a queue system for large downloads, like
  > > the one used in fileplanet.com
 >
 > You've recognized my goal excelently.
 > Some people on Polish linux usenet group told me to deal with it using a
 > script that should be written e.g. in PHP.
 > I haven't considered earlier such a solution. What do you thing about it?

depends on why your users get timeouts. if it's 'cause your pipe is
full due to many big downloads, it might help to have a script check
before starting the download wether there's any free bandwidth. if
your server is overloaded due to too many requests per second having a
relatively expensive php script will certainly be contraproductive.

joachim<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: polite file request queuing 
Back to top
Login to vote
alvaro_quitar_1

External


Since: Oct 31, 2003
Posts: 86



(Msg. 6) Posted: Thu Sep 30, 2004 1:12 pm
Post subject: Re: polite file request queuing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

*** klops wrote/escribió (Wed, 29 Sep 2004 15:30:09 +0200):
 > Some people on Polish linux usenet group told me to deal with it using a
 > script that should be written e.g. in PHP.
 > I haven't considered earlier such a solution. What do you thing about it?

I can't think of another method. You need to keep track of requests and
queue positions (probably in a database) and offer an auto-refresh page
with queue info and, eventually, a download link. That's scripting.


--
-- Álvaro G. Vicario - Burgos, Spain
-- Thank you for not e-mailing me your questions
--<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: polite file request queuing 
Back to top
Login to vote
nospam34

External


Since: Oct 20, 2003
Posts: 294



(Msg. 7) Posted: Thu Sep 30, 2004 4:17 pm
Post subject: Re: polite file request queuing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

klops wrote:

  >> I suppose he wants to implement a queue system for large downloads, like
  >> the one used in fileplanet.com
 >
 > You've recognized my goal excelently.
 > Some people on Polish linux usenet group told me to deal with it using a
 > script that should be written e.g. in PHP.
 > I haven't considered earlier such a solution. What do you thing about it?
 >
 > Regards,
 > Rafal

You need multiple file servers if you have that many clients. A round robin
front end will direct the user to a file server transparently.

You can do similar with & multiple A records in the DNS.

gtooemy<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: polite file request queuing 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
PHP,XML, Sablotron request - We are trying to implement a XSL feed of a big PPC provider in our PHP interface which is working with xsl & XML feeds over Sablotron. An engineer with knowledge on Sablotron would be appreciated. Kind regards, Chris Margetis http://www.clickgofin...

Invalid method in request L - Hi out there, i tried to set up Apache 2.0.48 with SSL, but i get a confusing error in the logfile. "Invalid method in request L" (Internet Explorer) "Invalid method in request g" (Mozilla) I'm running Apache 2.0.48 on a SuSE 9 sys...

External request -> 302 -> internal IP - Hi fellas. Got something strange going on in my config and I cannot figure it out. Running 2.0.47, omitting the '/' from a URL when wgeting from a machine on the internal network returns the usual 302 and then the proper URL. The same request through wge...

Apache Connection Request - Hi, I just want to know if this is true: I've heard that everytime the Apache server receives a connection request, it does all allocations in a particular "region" on the heap and then deletes the whole region once the connection is lost? ...

Incomplete request strings - Running Apache 2.0.47 with virtual hosts on Red Hat 8. I have our primary domain residing in ../apache/htdocs and vhosts in their own directories within ../apache/sites httpd.conf includes <VirtualHost> directives for every domain, including for ...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]