[Archivesspace_Users_Group] Performance hits with updated agents module?

Donald Mennerich don.mennerich at nyu.edu
Fri Feb 4 13:29:17 EST 2022


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>
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
>
> 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/c52621c8/attachment.html>


More information about the Archivesspace_Users_Group mailing list