Closed ast3150 closed 9 months ago
Hi @ast3150, first of all I really appreciate the contribution! A few things have changed since the latest tart release though, which we might be able to leverage to implement a cleaner solution to accelerating download speeds. (Blog post). I will look into the detailed changes and see if we can reuse this solution or find a simpler one. In any case, I would like to separate the download and unzipping logic into a separate class.
Tart's implementation even supports resuming and we will have to implement support for this anyway, as the Sonoma images are only using V2 disk layers.
Update: I started working on splitting the download/unzipping logic out and building a tart-inspired resumable concurrent download solution. Will close this ticket for now.
Summary
Reason
Data
Solution
AsyncHTTPClient
andFileDownloadDelegate
(based on SwiftNIO) instead ofURLSession.bytes
Context
Closes #31
Work In Progress