Skip to content

Multiple object relations performance #762

@pokorny-martin

Description

@pokorny-martin

Feature Category

  • Correctness
  • User Interface / User Experience
  • Performance
  • Other (please explain)

Describe the problem

A file with 1400 related samples takes around 30-40s to load.
Clicking on Relations tab in file details kills the browser tab with this amount of relations.

Describe the solution you'd like

Implement some kind of pagination on related samples.
OR/AND
Improve the process of getting related samples from the db e.g. optimize the db joins.

Describe alternatives you've considered

Increasing number of processes available.
Increasing requests timeouts.
Both slightly helped, but we can scale like this just for a while, before we will start hitting the limits again.

Metadata

Metadata

Assignees

Labels

type:improvementSmall improvement of existing featurezone:backendMWDB backend core related taskszone:frontendMWDB frontend tasks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions