-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf: Optimization of ZIP streaming decompression #1057
Open
iamscottxu
wants to merge
59
commits into
Scighost:dev/exp
Choose a base branch
from
iamscottxu:streamdownload_optimization
base: dev/exp
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
perf: Optimization of ZIP streaming decompression #1057
iamscottxu
wants to merge
59
commits into
Scighost:dev/exp
from
iamscottxu:streamdownload_optimization
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: scottxu <[email protected]>
Signed-off-by: scottxu <[email protected]> # Conflicts: # src/Starward.Language/Lang.resx # src/Starward.Language/Lang.zh-CN.resx
Signed-off-by: scottxu <[email protected]>
…ry files. Signed-off-by: scottxu <[email protected]>
…ion Path Description` Signed-off-by: scottxu <[email protected]>
Signed-off-by: scottxu <[email protected]>
Signed-off-by: scottxu <[email protected]>
Signed-off-by: scottxu <[email protected]>
…cause unexpected behavior after a traditional download mode task was started Signed-off-by: scottxu <[email protected]>
…a streaming download was retried Signed-off-by: scottxu <[email protected]>
…oads Signed-off-by: scottxu <[email protected]>
…rrectly caught as `TaskCanceledException` Signed-off-by: scottxu <[email protected]>
…tialDownloadException was thrown Signed-off-by: scottxu <[email protected]>
…ZIP downloads Signed-off-by: scottxu <[email protected]>
Signed-off-by: scottxu <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
…wnloads Signed-off-by: OsakaRuma <[email protected]>
…ancel Signed-off-by: OsakaRuma <[email protected]>
…ming download Signed-off-by: OsakaRuma <[email protected]>
… fixed the bug in which the progress was displayed incorrectly after the download was paused and restarted Signed-off-by: OsakaRuma <[email protected]>
…completion or cancellation when streaming downloads Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]> # Conflicts: # src/Starward.Language/Lang.es-ES.resx # src/Starward.Language/Lang.it-IT.resx # src/Starward.Language/Lang.ja-JP.resx # src/Starward.Language/Lang.ko-KR.resx # src/Starward.Language/Lang.ru-RU.resx # src/Starward.Language/Lang.th-TH.resx
Signed-off-by: OsakaRuma <[email protected]>
…ize streaming download speed Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]> # Conflicts: # src/Starward.Core.ZipStreamDownload/FastZipStreamDownloadTask.partial.cs
Signed-off-by: OsakaRuma <[email protected]>
…e few files in the compressed package during streaming download Signed-off-by: OsakaRuma <[email protected]>
… times by multiple threads (Scighost#1083) (Scighost#1082) Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]> # Conflicts: # src/Starward/Services/Download/InstallGameService.cs
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]> # Conflicts: # src/Starward/Services/Download/InstallGameService.cs
…re were multiple steps of the task when installing the game Signed-off-by: OsakaRuma <[email protected]>
…leted Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]> # Conflicts: # src/Starward.Language/Lang.de-DE.resx # src/Starward.Language/Lang.es-ES.resx # src/Starward.Language/Lang.it-IT.resx # src/Starward.Language/Lang.ja-JP.resx # src/Starward.Language/Lang.ko-KR.resx # src/Starward.Language/Lang.ru-RU.resx # src/Starward.Language/Lang.th-TH.resx # src/Starward.Language/Lang.vi-VN.resx # src/Starward/Services/Download/InstallGameManager.cs # src/Starward/Services/Download/InstallGameService.cs
…using speed limiter. Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]>
Signed-off-by: OsakaRuma <[email protected]> # Conflicts: # src/Starward/Services/Download/InstallGameService.cs
iamscottxu
force-pushed
the
streamdownload_optimization
branch
from
October 17, 2024 12:57
a4cf2c7
to
533129e
Compare
…the list of files to be deleted, delete the files in the list, then download the files to a temporary folder, and finally move the files. Signed-off-by: OsakaRuma <[email protected]>
iamscottxu
force-pushed
the
streamdownload_optimization
branch
from
October 19, 2024 08:56
1f6ff36
to
e698cb1
Compare
Signed-off-by: OsakaRuma <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#1037 的优化,此分支可能不稳定,不要合并,如需合并合并#1037。
将重试机制从单次压缩包内文件下载前移到单次数据流读取,当单个压缩包内的文件下载到一半失败时无需将其整个文件重新下载;✔️将域名解析和解析的IP地址可用性检测从单次压缩包内文件下载前移到整个压缩包下载阶段,并均衡地分配服务器节点(如果DNS服务器返回多个可用IP地址);✔️升级时,先获取删除文件列表和差异文件,根据删除文件列表删除文件后,边下载,边解压,边合并。(部分实现)✔️;