planktos icon indicating copy to clipboard operation
planktos copied to clipboard

Future Ideas

Open georgeaf99 opened this issue 8 years ago • 2 comments

A place to keep thoughts and track our plans for Planktos.

georgeaf99 avatar Mar 21 '17 19:03 georgeaf99

Separation of Responsibilities:

Components:

  • Perma-Torrent => A torrent client that speaks File and works in web workers
  • Planktos-Lib => Snapshot CRD interface and a fetch interface that uses Perma-Torrent
  • Planktos => Used by intercept handlers, manages snapshots, and gets resources (API: fetch, update) [NOTE: needs extensibility for different garbage collection strategies]
  • Intercept Mechanism => Provides a mechanism agnostic interface for handling intercepted requests (SW and tag editing)
  • Intercept Handler => Handles intercepted requests by calling Planktos

NOTE: ideal garbage collection strategy is reference counting (tabs -> snapshot) via on death callback and heartbeat

georgeaf99 avatar Mar 21 '17 19:03 georgeaf99

Merging of Priority DBs:

There should only be one priority DB for all of the snapshots, instead of a priority DB for each snapshot.

georgeaf99 avatar Apr 02 '17 18:04 georgeaf99