clutch icon indicating copy to clipboard operation
clutch copied to clipboard

experimentation: backend-driven pagination fo experiments list view

Open Augustyniak opened this issue 5 years ago • 1 comments

Description

Currently, frontend fetches the list of all experiments from the backend and the pagination is implemented as part of the frontend itself. This may lead to performance issues once the number of experiments returned grows to a significant number. What would help is to ensure that our experiments table view can display any number of experiments is a backend-driver pagination.

In this solution:

  • frontend would tell the backend the size of the page and the page number
  • frontend would not be able to implement operations such as sorting/filtering/searching - all of them would need to be moved to backend.

Complexity [S/M/L]: M

Wireframes, Mockups, or Screenshots (if applicable)

Augustyniak avatar Oct 07 '20 23:10 Augustyniak

This is a good starter for the API design for pagination: https://cloud.google.com/apis/design/design_patterns#list_pagination

danielhochman avatar Oct 08 '20 21:10 danielhochman