Optimize get_irods_content() for large studies #1519
Labels
app: samplesheets
Issue in the samplesheets app
internal
Changes invisible to the user or APIs (e.g. refactoring and optimization)
Milestone
Looking into the current bottlenecks of rendering large studies, I've noticed that, at least in observed cases, the worst is in fact not sheet rendering or loading tables via the Ajax view, but the
get_irods_content()
. This can take a lion's share of the rendering time when not in edit mode.I will have to look into this in more detail and see what can be optimized. If decent improvements are feasible with a reasonable amount of work, I'll fit this in the v0.12.1 release. If not, I'll postpone.
Possibilities include e.g. caching this info with
sodarcache
and retrieving from there in a similar fashion to the planned feature in #1509.This will most likely involve optimizing the plugin methods called in study and/or app sub-apps.
Related to #956, which may provide one potential solution for improving this.
The text was updated successfully, but these errors were encountered: