Project

General

Profile

Actions

Idea #6053

closed

[Workbench] [Performance] Dashboard display is sluggish

Added by Radhika Chippada almost 9 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
Performance
Target version:
-
Start date:
05/18/2015
Due date:
Story points:
-

Description

Dashboard display takes several seconds to display. When looked at the workbench console log (pointing to qr1hi API server), the following observations were made (which can be potential areas of improvement):

  • It seems like we are making several calls to API server for one collection and one link at a time
API client: 0.000334074 Prepare request https://qr1hi.arvadosapi.com/arvados/v1/collections  {"uuid":["qr1hi-4zz18-iz4x9s864e411js"]}  
API client: 0.066898288 API transaction
API client: 0.000214607 Parse response
API client: 0.000395874 Prepare request https://qr1hi.arvadosapi.com/arvados/v1/links   [["head_uuid","in",["qr1hi-4zz18-iz4x9s864e411js"]]] 
API client: 0.064143092 API transaction
API client: 0.000176 Parse response
API client: 0.000399506 Prepare request https://qr1hi.arvadosapi.com/arvados/v1/collections  {"uuid":["qr1hi-4zz18-79rrud51ezmvck4"]}  
API client: 0.070629777 API transaction
API client: 0.000173597 Parse response
API client: 0.000306681 Prepare request https://qr1hi.arvadosapi.com/arvados/v1/links   [["head_uuid","in",["qr1hi-4zz18-79rrud51ezmvck4"]]] 
...
  • It appears that several calls are made to /nodes?
API client: 0.000246677 Prepare request https://qr1hi.arvadosapi.com/arvados/v1/nodes    
API client: 0.253671224 API transaction
API client: 0.003016469 Parse response
API client: 0.000431834 Prepare request https://qr1hi.arvadosapi.com/arvados/v1/nodes    
API client: 0.205285103 API transaction
API client: 0.001184667 Parse response
API client: 0.000465309 Prepare request https://qr1hi.arvadosapi.com/arvados/v1/nodes    
...
  • Complete workbench log

Files

perf-profile-dashboard.png (433 KB) perf-profile-dashboard.png Radhika Chippada, 05/18/2015 01:02 AM
Actions #1

Updated by Radhika Chippada about 7 years ago

  • Status changed from New to Resolved

Now the collections and links are retrieved in one call. And the redundant nodes calls are eliminated.

Actions

Also available in: Atom PDF