w3c / w3c/ServiceWorker

Express the job queue in terms of parallel queues

Open
#1,197 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Bikeshed
Stars
3.6k
Forks
324
Avg merge
14d 22h
Merged PRs (30d)
1

Description

https://html.spec.whatwg.org/multipage/infrastructure.html#parallelism

Parallel queues have landed, and I'm pretty confident there's a better way to express the job queues we currently use.

This should make it easier to follow and link between algorithms, while expressing actions that must happen in series.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the WHATWG infrastructure section on parallelism and compare its parallel queues with the job queues currently used in the ServiceWorker specification. Map the existing job-queue algorithms before deciding how to express them in terms of parallel queues, while preserving actions that must happen in series; done means the specification is consistently rewritten and the algorithm links remain clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.