Commit Graph

8 Commits

Author SHA1 Message Date
Konstantin Schaper
3a8d031ed5 Introduce stale while revalidate pattern (#1555)
This Improves the frontend performance with stale while
revalidate pattern.

There are noticeable performance problems in the frontend that
needed addressing. While implementing the stale-while-revalidate
pattern to display cached responses while re-fetching up-to-date
data in the background, in the same vein we used the opportunity
to remove legacy code involving redux as much as possible,
cleaned up many components and converted them to functional
react components.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-02-24 08:17:40 +01:00
Sebastian Sdorra
5694a89589 Set span kinds for internal requests 2020-11-04 09:37:24 +01:00
René Pfeuffer
ebd48413b8 Catch all exceptions
Otherwise sax exceptions will escape this catch and we cannot cache the
result which leads to requests every time the update info is requested.
2020-09-24 11:57:54 +02:00
René Pfeuffer
6a80cce87a Make request for feed more resilient
This commit tackles the following issue:
When the release feed takes a long time to read (however), the former
solution would propagete requests to the SCM-Manager to multiple
requests of the specified feed url. This can, in the worst case, cause
a drain of resources like request threads.

We fix this with two actions:
1. We wrap the request itself in an executor with a timeout,
2. We only trigger one request at a time, so that we will not flood
   the feed server with requests.
2020-09-24 11:57:33 +02:00
Eduard Heimbuch
804a6498a7 fix review findings 2020-09-24 10:38:40 +02:00
Eduard Heimbuch
ff6aaf7bc5 cleanup 2020-09-23 09:52:43 +02:00
Eduard Heimbuch
65caa05433 add download link for new SCM-Manager version to admin information page 2020-09-22 16:21:49 +02:00
Eduard Heimbuch
851c5f9287 create admin info resource // fix rss feed parsing 2020-09-22 13:41:40 +02:00