Skip to content

plimsoll v0.17.5

Choose a tag to compare

@carrollco carrollco released this 03 Oct 03:03
· 18 commits to main since this release

A warm session pool of 4 or fewer containers warms every language the image runs in every container, whatever sessions hint.

Sessions

  • Small pools do not split. A pool of 4 or fewer containers (SANDBOX_SESSION_POOL) now warms every language the image runs in every waiting container, so every session handed a waiting container finds its languages warm whatever the mix of hints; opens that find none waiting, as a burst larger than the pool can, create their containers as they would without a pool. Only a pool of 5 or more divides its containers across language sets by demand. In simulation, a split pool of 1 to 3 found a language fewer than a quarter of sessions asked for, or a burst of opens, warm 75 to 91% of the time, to save at most a few idle interpreters. docs/sessions.md, "A warm pool".

Upgrading

  • A pool of 4 or fewer holds one idle interpreter more per container than a split one would when sessions ask for a single language (18 to 21 MiB under runc). Each waiting container is still charged one run against SANDBOX_TOTAL_MEMORY_MB, as in v0.17.4.

Clients

  • @plimsollmark/client and the Python client are at 0.17.5, unchanged apart from the version.