~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

spec: many cold first uses at once share the server's processors

Merged chadtmiller.com asked to merge into main from chadtmiller.com/monolith:store/cold-wording
spec/STORE.md+9−7
@@ -172,13 +172,15 @@ given, not the accounts or their data.
- **The first request to a cold account.** After a start, an account's
first request, a read or a write, is answered within 1 second more than
it would be once the account's state is in memory, whatever the account
holds, and however many accounts' first requests come at once, as they
do when a server busy before its start is started again. To answer it
the server reads at most 6 MiB of the account's files besides what the
request itself reads, whatever the account holds: an account's log is
folded into its table before it holds 4 MiB of writes, so that a first
use replays little however large the table, and the events the account
keeps for the firehose are not read for it. After a start that followed a
holds. To answer it the server reads at most 6 MiB of the account's
files besides what the request itself reads, whatever the account holds:
an account's log is folded into its table before it holds 4 MiB of
writes, so that a first use replays little however large the table, and
the events the account keeps for the firehose are not read for it. Many
accounts' first requests at once, as when a server busy before its start
is started again, share its processors, each first use's work so
bounded: they take together what that work costs on them, not what
their accounts hold. After a start that followed a
shutdown (`SIGTERM`) the server syncs nothing to the disk for it
(`OPERATIONS.md`, `pds_fsync_duration_seconds`): what the account's
files hold was made durable as the server shut down. After a kill or a