EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09663
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
RE: [EP-tech] Sword 2.0 API upload times
- To: Martin Brändle <martin.braendle@uzh.ch>, "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: RE: [EP-tech] Sword 2.0 API upload times
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Wed, 6 Mar 2024 08:04:30 +0000
CAUTION: This e-mail originated outside the University of Southampton.
Ah, I can see how that might be less efficient that e.g. posting the document itself. I had a quick trace through the code – it hits some SAX parsing, but I suspect the bottleneck might be in EPrints::DataObj::File – and things doing
base64_decode.
~/bin/export ARCHIVEID eprint XMLFiles EPRINTID > /somewhere/EPRINTID.xml Import these on your test system via the commandline, and see if there is any size-related slowness. Cheers, From: Martin Brändle <martin.braendle@uzh.ch>
Yes, A single EP3XML with base64 encoded files is sent. It might well be that the decoding algorithm isn’t efficient. I’ll check with the sender if he can change the way the files are uploaded. Kind regards, Martin |
- References:
- [EP-tech] Sword 2.0 API upload times
- From: Martin Brändle <martin.braendle@uzh.ch>
- Re: [EP-tech] Sword 2.0 API upload times
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] Sword 2.0 API upload times
- From: Yuri <yurj@alfa.it>
- Re: [EP-tech] Sword 2.0 API upload times
- From: Martin Brändle <martin.braendle@uzh.ch>
- Re: [EP-tech] Sword 2.0 API upload times
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Sword 2.0 API upload times
- From: Martin Brändle <martin.braendle@uzh.ch>
- [EP-tech] Sword 2.0 API upload times
- Prev by Date: Re: [EP-tech] Sword 2.0 API upload times
- Next by Date: Re: [EP-tech] Sword 2.0 API upload times
- Previous by thread: Re: [EP-tech] Sword 2.0 API upload times
- Next by thread: Re: [EP-tech] Sword 2.0 API upload times
- Index(es):