https://bugs.kde.org/show_bug.cgi?id=474135

            Bug ID: 474135
           Summary: Parallel downloads as a default can cause everything
                    to fail on slower connections without any detection
                    mechanism
    Classification: Applications
           Product: Discover
           Version: 5.26.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Flatpak Backend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Parallel downloads as a default can cause everything to fail on slower
connections without any detection mechanism to downgrade to sequential
downloads when it gets too laggy.

STEPS TO REPRODUCE
1. Use slow internet
2. Wait until you have 10+ different flatpak app updates sitting in discover
waiting to be updated
3. Press button to update them all

OBSERVED RESULT
All downloads seem to start at once, at least the progress bar suggests so, and
soon enough, your entire internet will die, all downloads will fail, and
everything will be a complete mess.

EXPECTED RESULT
Downloads are either done sequentially by default, or whatever does parallel
downloads detects if too many fail and switches over to sequential downloads.
(However, the latter is IMHO still an inferior solution because it can greatly
impact other users of the same wifi and cause lots of issues anyway on slow
connections.)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: SteamOS Holo 3.4.10 Builid 20230831.1, kernel
5.13.0-valve37-1-neptune
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6, built against 5.15.6

ADDITIONAL INFORMATION
Since I'm not entirely sure if the problematic component initiating the
parallel downloads thoughtless is flatpak itself or KDE discover, there's also
a downstream ticket here: https://github.com/flatpak/flatpak/issues/5162 If
someone here knows on which side the problem lies I'd be glad to hear so I can
close the incorrect one.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to