Slow responses when query resource lists

Project:RUcore API's
Version:7.2.2
Component:Get API
Category:bug report
Priority:normal
Assigned:chadmills
Status:closed
Description

When query resources that have many, 100's, of datastreams response time is slow. The yearbook project has brought this to light do to the 100's or JPEG, ARCH and DARCH datastreams. This affects brief results lists in the search display the most.

A new parsing method was developed for this release to speed up response time. Below is a summary of speed improvements over 7.2.1 Get API code.

Average brief result list, 10 resources per page.
7.2.1 - 0.7154 seconds
7.2.2 - 0.6282 seconds

Average brief result list, three yearbook resources.
7.2.1 - 3.231 seconds
7.2.2 - 0.379 seconds

Average brief result Get API lookup, yearbook resource.
7.2.1 - 0.661 seconds
7.2.2 - 0.043 seconds

Average full result Get API lookup, yearbook resource.
7.2.1 - 0.705 seconds
7.2.2 - 0.311 seconds

To test access all types of resources and files, including package downloads.

Comments

#1

Status:test» closed

Searched different types.

Audio:
54 resources in the results list
Total time: 0.8083 second(s)SolrQueryTime: 0.0018 | SolrTotal: 0.0102 | ParsingRec: 0.7719

Video:
148 resources in the results lists
Total time: 0.6578 second(s)SolrQueryTime: 0.0011 | SolrTotal: 0.0096 | ParsingRec: 0.6213

Image:
7384 resources in the results lists
Total time: 1.0362 second(s)SolrQueryTime: 0.0041 | SolrTotal: 0.0122 | ParsingRec: 0.9962

Text:
3854 resources in the results lists
Total time: 0.9801 second(s)SolrQueryTime: 0.0035 | SolrTotal: 0.0117 | ParsingRec: 0.9427

Searched for "scarlet letter"
6 resources in the results list
Total time: 0.6582 second(s)SolrQueryTime: 0.0008 | SolrTotal: 0.0064 | ParsingRec: 0.6248

I did not see slow response time when I performed the above searches.

Back to top