Bug 244937 - Add fetch retries to improve networking robustness for JetStream2.1.
Summary: Add fetch retries to improve networking robustness for JetStream2.1.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-08 09:20 PDT by Mark Lam
Modified: 2022-09-08 21:18 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2022-09-08 09:20:10 PDT
If burst mode fetches fail, we'll switch to fetching the resources one at a time sequentially.  In burst mode and in the sequential refetch, fetch of each resource may be tries up to 3 times before giving up.  This improves robustness and help reduce the chance that JetStream 2.1 fails to run due to poor network conditions.

Also remove the browser only code in fetchResources().  This is now handled by prefetchResourcesForBrowser(), which handles retries more robustly.
Comment 1 Radar WebKit Bug Importer 2022-09-08 09:20:33 PDT
<rdar://problem/99701290>
Comment 2 Mark Lam 2022-09-08 09:28:11 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4134
Comment 3 EWS 2022-09-08 21:18:04 PDT
Committed 254289@main (eaf0a297d03f): <https://commits.webkit.org/254289@main>

Reviewed commits have been landed. Closing PR #4134 and removing active labels.