Skip to content
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

Endo: Archived apps composed of archived libraries. #670

Open
kriskowal opened this issue Apr 15, 2021 · 4 comments
Open

Endo: Archived apps composed of archived libraries. #670

kriskowal opened this issue Apr 15, 2021 · 4 comments
Assignees
Labels
design kriskowal-reviewed-2024-01 Issues that kriskowal is satisfied do not need attention from team bug review as of January, 2024

Comments

@kriskowal
Copy link
Member

In order to minimize the weight of contracts on Agoric SDK, capturing their transitive dependencies in a string or archive wastes an opportunity.

This would require both a new bundle format (as in @agoric/bundle-source and @agoric/import-bundle) and also a transport mechanism (an additional power to async load/store the dependency archives), or alternately, a transport mechanism that can disassemble and reassemble the Zip files to preserve the illusion that bundles are just JSON.

Either way, we could use IPFS or something similar to distribute the overlapping fragments, where the fragments might either be Zip files of libraries, or individual files.

@kriskowal kriskowal self-assigned this Apr 15, 2021
@kriskowal
Copy link
Member Author

cc @dtribble

@zarutian
Copy link
Contributor

This sounds suspictiously like hierchical uses of content-hash addressed blob store. Probably via readonly composition virtual filesystem that uses a root-manifest file named by a content-hash to find the other blobs/manifest to populate the vfs with data.

@kriskowal
Copy link
Member Author

We are very likely to use a CAS. For unrelated reasons, I just implemented #794 today, which ensures the consistent hash of the manifest file (compartment-map.json) reflects consistent content of any particular entry point into an application. This doesn’t require the use of a CAS based on the same hash, but there is a certain synergy if we make that choice.

@kriskowal
Copy link
Member Author

Parent issue Agoric/agoric-sdk#3871

@kriskowal kriskowal added the kriskowal-reviewed-2024-01 Issues that kriskowal is satisfied do not need attention from team bug review as of January, 2024 label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design kriskowal-reviewed-2024-01 Issues that kriskowal is satisfied do not need attention from team bug review as of January, 2024
Projects
None yet
Development

No branches or pull requests

3 participants