it-at-m / digiwf-project

Project repo for the DigiWF project automation platform.
MIT License
10 stars 1 forks source link

Improve tasklist performance #366

Closed lmoesle closed 1 year ago

lmoesle commented 1 year ago

Is your feature request related to a problem? Please describe.

The digiwf tasklist loads all user/group tasks assigned to the user at once. If a user has multiple hundred or thousand tasks assigned, it takes a while for the tasklist to load all tasks from the api.

Describe the solution you'd like

We should refactore the frontend and the task api to not load all tasks at once. Maybe we use api pagination (backend) or another concept to reduce the amount of data.

Describe alternatives you've considered

Alternatively, we could move to a more real time functionality by using websockets and/or graphql to stream the task data to the frontend.

Additional context

Loadtest results: https://git.muenchen.de/digitalisierung/digiwf-load-test/-/pipelines/125870

Priority

Go live of parkausweis managment is in november. Therefore, it would be great if we could fix this issue advance.

lmoesle commented 1 year ago

Solution

lmoesle commented 1 year ago

Tasks

darenegade commented 1 year ago

Merged Epic with #338