diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 13:14:53 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-30 13:15:05 -0300 |
| commit | 705be665742fa0332585a4321640b5e2245610cb (patch) | |
| tree | e3953d65327e58cfefcaad8935fcf68487a8cae0 /docs/spec.md | |
| parent | 4af5c9594a5e69a09d452d037d1c89ade5691475 (diff) | |
| download | cloud9-705be665742fa0332585a4321640b5e2245610cb.tar.gz cloud9-705be665742fa0332585a4321640b5e2245610cb.zip | |
9ns: a mount's tag window and worker pool are 256, wider than a server parks per connection, so held reads no longer deadlock it
Every read a server parks holds one of the session's tags and pins one
bridge worker. With 32 tags and 31 workers, 31 held event reads (a
follower each) took every worker. The next READ, even `cat layout`,
queued behind them forever, so the whole mount hung. The window is now
256 tags and 255 workers, more than pardes parks per connection (128,
past which it refuses "too many reads waiting: 128" and so frees the
worker). A mount can then hold everything such a server parks and still
serve the rest. Workers are still started only as needed.
The multiplexing test's fake server (cloud9.Server, 64 requests in
flight) cannot park 256. A runtime Session.window, which defaults to
max_tags, lets it fill a window of 32 the same way.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/spec.md')
0 files changed, 0 insertions, 0 deletions
