On Tue, Jul 16, 2013 at 3:44 PM, Benjamin Ryan
<[email protected]> wrote:
>                 A long shot, but is there any way to control the amount of 
> simultaneous external harvests that are allowed at any one time?

Hi Ben,

not that I know of, but if you put your OAI behind Apache, you can use
the MaxRequestWorkers directive [1]. The drawback there is that it
doesn't issue a temporary error HTTP status code to the client, it
just queues him. The  request will most likely time out, so the OAI
server may appear unresponsive.

Ideally, according to the OAI-PMH spec, you would want to issue a 503
response code and a Retry-After header [2]. I'd probably write a
simple HTTP wrapper in Python to do this.

[1] http://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
[2] http://www.openarchives.org/OAI/openarchivesprotocol.html#HTTPResponseFormat

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to