On Tue, Feb 5, 2013 at 12:09 PM, Lighton Phiri <[email protected]> wrote:
>> If possible, I'd recommend you to handle smaller batches and automate it
>> using some shell script.
>
> I have been using smaller batches for certain tasks (e.g. ingestion, which
> by the way is painfully slow )  but sadly, I have no control on the batch
> size for tasks like AIP Backup& Restore.

I see. I may have a solution for that, but this is NOT best practice.
You may run the packager on individual items and significantly
decrease the overhead of each command-line call (JVM startup overhead)
by using Nailgun. I described how to use it with DSpace here:
https://wiki.duraspace.org/display/DSPACE/Nailgun

If you try, let me know how it worked out. I'm interested in how the
time spent calling the packager command n-times for one item compares
to calling it once on n items.

And don't try this at home... ehm... actually, DO try it at home
before trying it in production :)


Regards,
~~helix84

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

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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