planktos
planktos copied to clipboard
Future Ideas
A place to keep thoughts and track our plans for Planktos.
Separation of Responsibilities:
Components:
- Perma-Torrent => A torrent client that speaks
Fileand 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
Merging of Priority DBs:
There should only be one priority DB for all of the snapshots, instead of a priority DB for each snapshot.