Bug #10444

[Performance][Workbench] While in a resource #show page, switching between tabs results in fetching the object again from API server. This can cause unacceptable amount of latency for large objects such as large pipeline instances and also to collections.

Added by Radhika Chippada over 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

The current caching model is not helping here. In workbench arvados_base, we use the following for cache_key.
Here the "Thread.current.object_id" changes for each request making the cache basically useless in this context.
Suggest using the current user token instead.

   cache_key = "request_#{Thread.current.object_id}_#{self.to_s}_#{uuid}" 

History

#1 Updated by Radhika Chippada over 2 years ago

  • Description updated (diff)

#2 Updated by Tom Morris over 1 year ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF