Skip to content

WIP: Skylink Download Changes, New Cacheing

David Vorick requested to merge skyfile-cache into master

Overview

This contains a bunch of half-baked optimizations which got Uniswap v1 loading times down from 10s to 3.5s, and got the Skynet Appstore loading times down from 20+ seconds to 2.1 seconds. If you look through the code you'll see that some of these optimizations break the test suite and a lot of them are rather half baked.

And yet... the results speak very, very loudly. These are significantly improving performance numbers for skapps that load multiple resources from the same Skylink (that's the target use case of all these optimizations).

I have a longer set of better optimizations coming out soon but I wanted to publish these optimizations in particular because the results were so good. I'll probably break this into a set of multiple more complete MRs over the next few days.

Checklist

Review and complete the checklist to ensure that the MR is complete before assigned to an approver.

  • All new methods or updated methods have clear docstrings
  • Testing added or updated for new methods
  • Any new packages are added to Makefile and .gitlab-ci.yml
  • API documentation updated for API updates
  • Module README.md updated for changes to workflow
  • Issue added to Sia-UI repo for new supporting features
  • Changelog File Created

Merge request reports