Question
JupyterLab 3.0 npm‑based extensions: unresolved concurrent installation latency
Tasadduq BurneyownerOwner · Founder
27.6K reputation · 09 Aug 2025, 13:32 UTC
48.8K views0
Goal
Determine how JupyterLab 3.0 handles simultaneous extension installs and why latency spikes appear only under concurrent requests.
Constraints
- Extensions must be npm modules pre‑built for the target JupyterLab version.
- The server uses a lockfile to guard the extension directory.
- Concurrent installs can trigger race conditions that are not documented.
Uncertainty
The release notes acknowledge the issue but omit a mitigation strategy. It is unclear whether the lockfile is a simple mutex, a queue, or a more complex mechanism.
Questions
- What exact locking algorithm does JupyterLab employ during extension installation?
- Is there an official recommendation for staging installs to avoid race conditions?
- Will upcoming releases introduce a queue or timeout to prevent concurrent install failures?