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

Tracking Issue: Refactor Service Worker Lifecycle #1790

Open
1 of 7 tasks
TalDerei opened this issue Sep 17, 2024 · 0 comments
Open
1 of 7 tasks

Tracking Issue: Refactor Service Worker Lifecycle #1790

TalDerei opened this issue Sep 17, 2024 · 0 comments

Comments

@TalDerei
Copy link
Contributor

TalDerei commented Sep 17, 2024

the motivation is detailed in #1573 (tracked in #1376). The necessary work from that issue has been compartmentalized into smaller, distinct work streams. It's a large lift that necessitates extensive testing.

reference the accompanying architectural design document: https://docs.google.com/document/d/1QqP3OfW4Rqa1awYJdTDD9ao8nV8vHDYM4IJjapraHYA/edit


Phase 1

  1. relocate services and block syncing out of the service worker to the offscreen entry #1573

Phase 2

  1. Implement worker scaffolding to enable parallelization  #1787
  2. Parallelize the block processor  #1809
  3. profile block processor to improve sync performance #1142

Phase 3

  1. improve HandlerContext #924
  2. refactor idb database subscriptions to work cross-document #1789

Potential Low Hanging Fruit

  1. minimize storage accesses  #1814
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🗄️ Backlog
Development

No branches or pull requests

1 participant