[Archivesspace_Users_Group] Problems working with archival object with large number of direct children

Prom, Christopher John prom at illinois.edu
Wed Nov 16 17:17:47 EST 2016


I'm glad to see this is being addressed, since it has been a known issue for quite some time.  I do hope it can also be fixed for resources many many linked with digital objects, not just resource components..  For collections with many linked digital objects, the same problem occurs.

Thanks,

Chris Prom
University of Illinois


On Nov 16, 2016, at 6:45 AM, Joshua D. Shaw <Joshua.D.Shaw at dartmouth.edu<mailto:Joshua.D.Shaw at dartmouth.edu>> wrote:

Thanks, James!

For the rest of the list, especially those who haven’t had a chance to work with James and the rest of the gang at HM, we’ve had nothing but great work on the customizations we’ve had done. All by way of saying that if James says they are gonna fix it… it’ll be fixed!

Joshua

From: <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> on behalf of James Bullen <james at hudmol.com<mailto:james at hudmol.com>>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Date: Tuesday, November 15, 2016 at 6:17 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>, "archivesspace at googlegroups.com<mailto:archivesspace at googlegroups.com>" <archivesspace at googlegroups.com<mailto:archivesspace at googlegroups.com>>
Subject: Re: [Archivesspace_Users_Group] Problems working with archival object with large number of direct children


Hi all,

As part of our new role as ArchivesSpace development partner, we will be addressing issues like this as a priority.

It is still early days and we’re working with the folks at the ArchivesSpace program on a release schedule, so we can’t make any definitive statements yet, but please know that we are aware of this issue and will address it as soon as we are able.


Cheers,
James


—
James Bullen
Hudson Molonglo



On Nov 16, 2016, at 7:46 AM, Joshua D. Shaw <Joshua.D.Shaw at dartmouth.edu<mailto:Joshua.D.Shaw at dartmouth.edu>> wrote:

Hi all –

We at Dartmouth have experienced similar issues. We have some large resources as well (one has 60K+ objects in the tree) and anything that involves a save or rearrangement (moving a file around, etc) can take a *lot* of time (many minutes) and may cause an error – typically of the “another user is modifying this record” type.

If we have to do any modifications to a resource of that size, we a) budget a lot of time and b) do things in small increments – ie don’t move more than a couple of files around at a time. It’s not a great solution, but it does minimize some of the headache.

I *think* (but haven’t had the time to really dig into this) that one reason the error comes about is because the indexer steps on/collides with the process that the save/arrangement kicked off. We are still running 1.3 and hope that some of our issues will be mitigated when we move to 1.5.1, though we know that not all of them have been resolved yet.

One other data point is that we’ve got a plugin that runs as a background job doing a bunch of importing. This background job touches some of the larger resources, but does *not* cause the errors and long save times, which leads me to believe that a lot of the problem is in the frontend – perhaps with the way the tree is populated - as Jason pointed out.

Best,
Joshua

From: <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> on behalf of Jason Loeffler <j at minorscience.com<mailto:j at minorscience.com>>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Date: Tuesday, November 15, 2016 at 3:25 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Cc: "archivesspace at googlegroups.com<mailto:archivesspace at googlegroups.com>" <archivesspace at googlegroups.com<mailto:archivesspace at googlegroups.com>>
Subject: Re: [Archivesspace_Users_Group] Problems working with archival object with large number of direct children

Hi Sally,

Definitely, yes. We have many resources with 5,000 or more archival object records. We've deployed on some pretty decent Amazon EC2 boxes (16GB memory, burstable CPU, etc.) with negligible improvement. I have a feeling that this is not a resource allocation issue. Looking at the web inspector, most of the time is spent negotiating jstree<https://urldefense.proofpoint.com/v2/url?u=http-3A__jstree.com_&d=DQMGaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=jGJMaTc-8I-z6_tkoj_Qyi4UF1KtYBfcz4s2Ly33jmw&m=Wc685e1HgK5F_7M_3j8HNQRFrPiNI_oKSUAAplXVAF8&s=reSJKY5v22A6p5ZWF_e4bivVwYrItfYvWIqqBz2BSRI&e=> and/or loading all JSON objects associated with a resource into the browser. Maybe an ASpace dev can weigh in.



From the sysadmin side, Maureen Callahan at Yale commissioned Percona to evaluate ArchivesSpace and MySQL performance. I've attached the report. Let me know if you need any help interpreting the report.

At some point, and quite apart from this thread, I hope we can collectively revisit the staff interface architecture and recommend improvements.

JL

On Tue, Nov 15, 2016 at 2:37 PM, Sally Vermaaten <sally.vermaaten at nyu.edu<mailto:sally.vermaaten at nyu.edu>> wrote:
Hi everyone,

We're running into an issue with a large resource record in ArchivesSpace and wonder if anyone has experienced a similar issue. In one resource record, we have a series/archival object with around 19,000 direct children/archival objects. We've found that:
•         it takes several minutes to open the series in the 'tree' navigation view and then, once opened scrolling through series is very slow / laggy
•         it takes a couple of minutes to open any archival object in the series in edit mode and
•         it takes a couple of minutes to save changes to any archival object within the series
Does anyone else have a similarly large archival object in a resource record? If so, have you observed the same long load/save time when editing the component records?

The slow load time does not seem to be affected by memory allocation; we've tried increasing the speed / size of the server and it seemed to have no effect. We'd definitely appreciate any other suggestions for how we might fix or work around the problem.

We also wonder if this performance issue is essentially caused by the queries being run to generate the UI view - i.e. perhaps in generating the resource 'tree' view, all data for the whole series (all 19k archival objects) is being retrieved and stored in memory? If so, we wondered if it would be possible and would make sense to change the queries running during tree generation, etc. to only retrieve some batches at a time, lazy loading style?

Thanks,
Weatherly and Sally

--
Sally Vermaaten
Project Manager, Archival Systems
New York University Libraries
1-212-992-6259<tel:1-212-992-6259>

_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=DQMGaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=jGJMaTc-8I-z6_tkoj_Qyi4UF1KtYBfcz4s2Ly33jmw&m=Wc685e1HgK5F_7M_3j8HNQRFrPiNI_oKSUAAplXVAF8&s=5Tb3z5mNxD1UsthTJZH6cGWewmfGv5687fVW6WvSrV4&e=>

!DSPAM:582b7444314351074817778! _______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=DQMGaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=jGJMaTc-8I-z6_tkoj_Qyi4UF1KtYBfcz4s2Ly33jmw&m=Wc685e1HgK5F_7M_3j8HNQRFrPiNI_oKSUAAplXVAF8&s=5Tb3z5mNxD1UsthTJZH6cGWewmfGv5687fVW6WvSrV4&e=>


!DSPAM:582b7444314351074817778!


_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20161116/5ea7f62c/attachment.html>


More information about the Archivesspace_Users_Group mailing list