Background computation
What the toolkit computes off the main thread, and what the “reduced mode” notice means.
Last updated · 3 min read · Docs / Viewer
What runs in the background
When you filter a dataset in the Para-Sieve, the graph itself is drawn by your graphics card. The table of matching candidates underneath it, and the statistics that build on it, are computed separately by a small pool of background workers: threads the browser runs alongside the page, so the page never freezes while a large dataset is being filtered.
Each worker holds one slice of the dataset. A filter change is sent to every worker at once, each answers for its own slice, and the answers are merged. A newer filter change cancels the one in flight, so dragging a slider never queues up stale work.
The two modes
Workers can receive their slice of the data in one of two ways:
- Shared
- All workers read the same copy of the dataset in memory. Nothing is duplicated, and a replaced worker is back at work immediately.
- Copied
- Each worker gets its own copy of its slice. Everything still works; handing a large dataset over just takes a little longer, and it occupies memory twice while it happens.
Shared mode needs the browser to treat the page as cross-origin isolated, a security setting the server switches on with two response headers. It is a property of the server, not of your browser or your machine.
The reduced-mode notice
The first time a session uses background computation without shared memory, a notice reads Background computation is in a reduced mode
. It is informational: the toolkit has fallen back to copied mode, and the numbers you see are the same.
The notice names the cause. Almost always it is one of the two server headers being absent, in which case there is nothing to do on your side; the site operator decides whether to enable it. Two causes are on your side:
- The page is open over plain
http://rather thanhttps://. - The toolkit is embedded in a frame on another site, which browsers never isolate.
Opening the toolkit directly, over https://, resolves both. The notice appears once per browser session and can be dismissed like any other.
Other notices you may see
- A background worker stopped responding
- A worker went silent for several seconds, so it was replaced. The work it held is retried automatically where that is safe; otherwise the table asks again on the next filter change.
- Background worker recovered
- The replacement is up. No action needed.
- Computation failed
- A request could not be completed and the message says why. Changing a filter retries it; if it keeps failing, reloading the page rebuilds the pool from scratch.