Bug 45080 - App Center update performance
App Center update performance
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-4-errata
Assigned To: Dirk Wiesenthal
Felix Botner
:
Depends on: 43662 43847 45085
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-26 16:52 CEST by Dirk Wiesenthal
Modified: 2017-08-09 17:27 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 5: Will affect all installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.057
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2017-07-26 16:52:22 CEST
Port to 4.1

+++ This bug was initially created as a clone of Bug #43847 +++

I don't think it makes sense that we check every single file in the archive. I think we should add some files with a signature and extract them without re-checking every single file.


+++ This bug was initially created as a clone of Bug #43662 +++

I've switched to our test app center. It took more than 2 minutes to update the internal cache:

 12627 actions.update.progress          17-02-27 20:58:47 [   DEBUG]: 0
[...]
 12627 actions.update                   17-02-27 21:01:20 [   DEBUG]: Extracting wildfly_20170222160423.meta
 12627 actions.update                   17-02-27 21:01:20 [   DEBUG]: Extracting wildfly_20170222160423.inst
 12627 actions.update                   17-02-27 21:01:20 [   DEBUG]: Extracting wildfly_20170222160423.ini
 12627 actions.update                   17-02-27 21:01:20 [   DEBUG]: Extracting wildfly_20170222160423.README_EN
 12627 actions.update                   17-02-27 21:01:20 [   DEBUG]: Extracting wildfly_20170222160423.logo
 12627 cache                            17-02-27 21:01:20 [   DEBUG]: Cache outdated. Need to rebuild
 12627 cache                            17-02-27 21:01:21 [   DEBUG]: Saved 21 apps into cache
 12627 cache                            17-02-27 21:01:21 [   DEBUG]: Cache outdated. Need to rebuild
 12627 cache                            17-02-27 21:01:23 [   DEBUG]: Saved 335 apps into cache
 12627 actions.update                   17-02-27 21:01:23 [   DEBUG]: Updating app files...
 12627 actions.update                   17-02-27 21:01:23 [   DEBUG]: Updating app icon files in UMC directory...
 12627 actions.update                   17-02-27 21:01:23 [    INFO]: File: /usr/share/univention-management-console/modules/apps.xml
 12627 actions.update                   17-02-27 21:01:23 [    INFO]: 
 12627 actions.update                   17-02-27 21:01:24 [    INFO]: File: /usr/share/univention-management-console/i18n/de/apps.mo
 12627 actions.update                   17-02-27 21:01:24 [    INFO]: 
 12627 actions.update                   17-02-27 21:01:25 [   DEBUG]: copying /var/cache/univention-appcenter/appcenter-test.software-univention.de/4.2/adconnector.logo -> /usr/share/univention-management-console-frontend/js/dijit/themes/umc/icons/scalable/apps-adconnector.svg
Comment 1 Dirk Wiesenthal univentionstaff 2017-07-27 13:26:54 CEST
Fixed in
  univention-appcenter 5.0.23-90.322.201707271136
Comment 2 Felix Botner univentionstaff 2017-08-07 12:05:29 CEST
OK - appcenter, update, installation, ...
OK - YAML
Comment 3 Arvid Requate univentionstaff 2017-08-09 17:27:26 CEST
<http://errata.software-univention.de/ucs/4.1/446.html>