Red Hat's Flathub/Flatpak Overcomplicates GNU/Linux



-
Not seeing the wood for the trees
The way Flathub infrastructure works is not complicated for current trends, but there are enough moving parts to make debugging transient issues tricky.
[...]
Flatpak downloads involve a lot of HTTP requests since each file in the application maps to a file in the ostree repository. Server-side Keep-Alive helps, but there is still a performance penalty over downloading a big single file. Flatpak can mitigate it by generating a static delta, either between two revisions or from scratch for new installations.
It turned out to be a bug causing Flatpak to ignore from scratch deltas altogether. For example, installing LibreOffice involves making 5515 GET requests versus only 128 with static delta support working properly. Who could have known!
In the beginning of April, multiple issues popped out around the same time. PagerDuty was poking me few times a day about high CPU usage on the server hosting Buildbot. Buildbot home page was not displaying recently finished builds at all. New commits, pull requests and manual build triggers were not causing new builds to start reliably. The number of 503 errors increased so much I saw it myself.
Since our Buildbot was few releases behind, it looked like a good idea to start from here and hope it will fix all related problems. After the upgrade, I looked into the home page issue. The browser network monitor revealed a request timeout to the backend. The same request executed directly on the server also time outed. Everything worked fine in my local environment though. Few print calls later it became apparent that the frontend has been requesting all 17000 builds that were ever ran, which also explains high CPU usage. Adding limit=50 to the request brought it to 2-4s. Even though it needed less than a second on the server itself, it sounded reasonable enough to consider it fixed.
-
Innovating in the open: How Red Hat UXD is gathering user feedback
Here on Red Hat’s User Experience Design (UXD) team, we believe in open conversations. As a team of designers working on the developer's perspective of the Red Hat OpenShift 4 web console, we relied on open conversation to gather our users’ information and feedback to help us provide innovative solutions to the OpenShift and developer community.
-

- Login or register to post comments
Printer-friendly version- 1901 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago