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

Archive format #824

Open
Munter opened this issue Jan 12, 2018 · 0 comments
Open

Archive format #824

Munter opened this issue Jan 12, 2018 · 0 comments
Labels

Comments

@Munter
Copy link
Member

Munter commented Jan 12, 2018

We've talked on multiple occasions about archiving formats to create assetgraph snapshots, spare some server roundtrips or just keep around for later detailed analysis.

Requirements

  • File transfer metadata must be preserved
    • HTTP request headers
    • HTTP response headers
    • File system stat information?
  • Asset content must be available
    • Possibly decouple metadata from data itself to enable quick access
  • Assetgraph asset properties should be saved for possible reuse without parsing the raw source again
  • Asset relations should be available
    • We can't keep the relations node reference alive
    • from and to could probably be serialized to URI's

** WORK IN PROGRESS **

Canditates / Inspiration

https://w3c.github.io/web-performance/specs/HAR/Overview.html
https://www.w3.org/TR/web-packaging/
https://wicg.github.io/webpackage/draft-yasskin-dispatch-web-packaging.html

Possible features

  • Transfer a graph from one place to another with all debugging information intact
  • Fork a graph transformation pipeline to multiple processes or machines
  • Trade memory usage for disk usage in high volume graphs
  • Use an archive as a cache lookup when populating online resources
  • Keep http conversation and file system metadata intact

Crazy ideas

  • Merkle tree type implementation to incrementally add new differences while keeping old assets
@Munter Munter added the Model label Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant