Skip to content

0.7.0

Latest

Choose a tag to compare

@benoitc benoitc released this 26 Sep 18:27

A script worker recycles its restores whether or not it restores ahead, with
the memory it keeps between requests counted and bounded.

  • Every script worker recycles its restores, not only one with
    restore_ahead. A worker keeps the memory its last request's instance left
    and the next restore rewrites only the chunks that request wrote: a CPython
    pool without restore_ahead answers about 1.4x the requests. The kept
    memory counts in the node's page budget.
  • New worker option recycle_idle, milliseconds an idle worker keeps that
    memory (default 30_000). 0 keeps none.