[Archivesspace_Users_Group] [EXTERNAL] Re: Performance hits with updated agents module?

Rees, John (NIH/NLM) [E] reesj at mail.nlm.nih.gov
Fri Feb 4 14:36:19 EST 2022


I haven’t noticed any meaningful increase in our jmeter tests for agents between 2.8.1 and 3.1.1. 8 seconds is the max for the 50 concurrent users test (over VPN), but 600ms is the average for 50. That’s on a QA string with only 2GB of heap.

John


From: Donald Mennerich <don.mennerich at nyu.edu>
Sent: Friday, February 4, 2022 1:29 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [EXTERNAL] Re: [Archivesspace_Users_Group] Performance hits with updated agents module?

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and are confident the content is safe.

Hey Patrick,

I don't have a working 2.x install running, but this is what I got on 3.0.2

$ time curl -H "X-ArchivesSpace-Session: $SESSION" -X GET "https://my-archivesspace-server:8089/agents/people?all_ids=True&page_size=100&page=1"
{"first_page":1,"last_page":130,"this_page":1,"total":12971,"results":[snip]}

real 0m12.801s
user 0m0.018s
sys 0m0.007s




On Fri, Feb 4, 2022 at 1:20 PM Galligan, Patrick <PGalligan at rockarch.org<mailto:PGalligan at rockarch.org>> wrote:
Hi all,

Has anyone done any performance benchmarking between AS version 2.x and AS version 3.1.x? We’ve updated a few months ago and some of our GET requests are taking way longer than we’d expect.

This request: GET /agents/people?all_ids=True&page_size=100&page=1 took about 2.5 minutes to complete.

D, [2022-02-02T13:55:04.329994 #1804489] DEBUG -- : Thread-65736: Responded with [200, {"Content-Type"=>"application/json", "Cache-Control"=>"private, must-revalidate, max-age=0", "Content-Length"=>"321644"}, ["{\"first_page\":1,\"last_page\":12,\"this_page\":1,\"total\":1176,\"results\":[{\"lock_version\":0,\"publish\":false,\"create_time\":\"2014-12-05T20:32:16Z\",\"system_mtime\":\"2021-12-03T21:53:20Z\",\"user_mtime\":\"2014-12-05T20:32:16Z\",\"is_slug_auto\":false,\"jsonmodel_type\":\"agent_person\",\"agent_contacts\":[],\"agent_record_controls\":[],\"agent_alternate_sets\":[],\"age... in 154446ms

Has anyone else experienced this? It seems to have started after we upgraded.

-Patrick
Rockefeller Archive Center
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=DwICAg&c=slrrB7dE8n7gBJbeO0g-IQ&r=_DsNVvE0MidyDzdUOYchWsIErjGtgLba7OOoi6MzJhM&m=U7YhID3-trQ6xjjkkARr6YG0qrVlvMNeDbR1V6hzqclVIvUvemqXY-4PgyC4T9s1&s=SvrniU7gsnaDQJYASCA-Ard225aSpqzg5LCV5axoFDA&e=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20220204/4f3e84fb/attachment.html>


More information about the Archivesspace_Users_Group mailing list