Repository navigation
Releases
ferrohealth-server 0.12.1
Changed
- A request past the overload bound is refused for about what a bare
503costs on the same transport. The stack tries the admission slot
before the request id, the request log and the body limit, so a refusal
reads no body and leaves no request line, and theWARNwritten for
every refusal is now at most one line a second with the refusals since
the line before (queue_full,wait_expired). The counter
ferrohealth.server.admission.refusalsstill counts each refusal by
reason, and the answer is still503withRetry-After, written with
the product'sRefusalBodyand echoing the request id. The refused
requests no longer reach the request log'shttp.server.request.duration
histogram, and a queued request's wait is no longer inside its request
line's latency or the request timeout. FerroEHR measured 0.18 ms of
server CPU per refusal, and answered 1,900 requests a second at 5,000
offered against about 2,700 at saturation (#419).
Support period
Only the newest release is supported: there are no maintenance branches, no long-term-support line and no backports, and upgrading is free. Under the Cyber Resilience Act, Cadasto B.V. commits to keep publishing security fixes for at least five years after each release (Art 13(8)) and ships them only in the newest release (Art 13(10)). For this release that commitment runs until the end of November 2031 (Regulation (EU) 2024/2847 Art 13(19)); see SECURITY.md.
ferrohealth-telemetry 0.5.1
Changed
- The
jsonconsole no longer renders a span's fields, which nojson
line writes: thefmtlayer formatted them when a span opened and again
on everyrecord. A request through the request log costs 1.3 µs and 23
allocations less (#416).
Support period
Only the newest release is supported: there are no maintenance branches, no long-term-support line and no backports, and upgrading is free. Under the Cyber Resilience Act, Cadasto B.V. commits to keep publishing security fixes for at least five years after each release (Art 13(8)) and ships them only in the newest release (Art 13(10)). For this release that commitment runs until the end of November 2031 (Regulation (EU) 2024/2847 Art 13(19)); see SECURITY.md.
ferrohealth-perf 0.16.0
Added
- Breaking: per-arrival variables. A plan declares
[vars.<name>]tables
of acounter, a seededrandominteger, auuid, alistpick or a
row of a JSON Lines or CSVfile, and names them as{{name}}or
{{name.field}}in a request's path, header values and body and in an
HL7 v2 message file, so each arrival sends values of its own and a feed
at rate revises many records instead of queueing on one. The sequences
are fixed by the new[load] seed(0 by default) and continue across
the phases sent to one server; the report records the seed as
plan.seed. The values are drawn before each arrival's intended instant,
so the schedule is unchanged. A plan without[vars]is sent as before.
Plangainsvars,LoadSettingsgainsseed,PlanIdentitygains
seed,Endpoints::newandEndpoints::filledreturn the new
EndpointsError, which takes the place ofRunError::Mllpas
RunError::Endpoints, andPlanErrorandLoadErrorgain aTemplate
variant (#412).
Support period
Only the newest release is supported: there are no maintenance branches, no long-term-support line and no backports, and upgrading is free. Under the Cyber Resilience Act, Cadasto B.V. commits to keep publishing security fixes for at least five years after each release (Art 13(8)) and ships them only in the newest release (Art 13(10)). For this release that commitment runs until the end of November 2031 (Regulation (EU) 2024/2847 Art 13(19)); see SECURITY.md.
ferrohealth-server 0.12.0
Added
- Breaking:
[server] request_decompression, off by default, decodes a
request body sent withContent-Encoding: gzip(orx-gzip) orbr
before a handler reads it. On, any other coding, or more than one, is
refused415 Unsupported Media TypewithAccept-Encoding: gzip, br
(RFC 9110 §15.5.16, RFC 7694 §3);body_limitholds the decoded bytes
as well as the wire bytes, so a body that decodes past it is refused
413and the rest is never decoded; and a stream that does not decode
is answered400by the body extractor. The415, and the413and
400a body extractor raises for a decoded body, are written with the
product'sRefusalBody(refusal::UNSUPPORTED_CODING,
refusal::UNDECODABLE). Off, a request is served as before. FerroEHR
measured an IPS composition commit at 128,474 B and 8,483 B in gzip.
ServerSectiongains the field; a struct literal that names every field
adds it, or takes..Default::default()(#408).
Support period
Only the newest release is supported: there are no maintenance branches, no long-term-support line and no backports, and upgrading is free. Under the Cyber Resilience Act, Cadasto B.V. commits to keep publishing security fixes for at least five years after each release (Art 13(8)) and ships them only in the newest release (Art 13(10)). For this release that commitment runs until the end of November 2031 (Regulation (EU) 2024/2847 Art 13(19)); see SECURITY.md.
ferrohealth-perf 0.15.0
Changed
- The gate builds on ferrohealth-server 0.12, which can decode a gzip or
Brotli request body; the CLI, its flags and its report are unchanged
(#408).
Support period
Only the newest release is supported: there are no maintenance branches, no long-term-support line and no backports, and upgrading is free. Under the Cyber Resilience Act, Cadasto B.V. commits to keep publishing security fixes for at least five years after each release (Art 13(8)) and ships them only in the newest release (Art 13(10)). For this release that commitment runs until the end of November 2031 (Regulation (EU) 2024/2847 Art 13(19)); see SECURITY.md.
ferrohealth-server 0.11.0
Changed
- Breaking: a request past
max_concurrent_requestswaits for a slot
before it is refused. It waits at most[server] admission_wait(100 ms
by default) in a first-come first-served queue of at most
[server] max_waiting_requestsplaces (256 by default;0, or a zero
wait, keeps no queue), and a full queue or an expired wait is answered
503withRetry-Afteras before. The requests in flight and waiting
never exceed the two bounds, the health routes are never refused or
queued, and the wait counts in the request's latency. At 2000 rps a
server-side stall of 110 to 150 ms piled up about 300 requests in
FerroEHR, and the bound refused the excess though the server answered a
few hundred milliseconds later.ServerSectiongains the two fields and
StackPolicygainsmeter; a struct literal that names every field adds
them, or takes..Default::default()(#403).
Added
- With
StackPolicy::meterset, the admission records the requests that
waited (ferrohealth.server.admission.waits), the time each waited by
outcome (ferrohealth.server.admission.wait.duration,admittedor
expired) and the refusals by reason
(ferrohealth.server.admission.refusals,queue_fullor
wait_expired).overload::Admissiongainswith_queueand
with_metrics(#403).
Support period
Only the newest release is supported: there are no maintenance branches, no long-term-support line and no backports, and upgrading is free. Under the Cyber Resilience Act, Cadasto B.V. commits to keep publishing security fixes for at least five years after each release (Art 13(8)) and ships them only in the newest release (Art 13(10)). For this release that commitment runs until the end of November 2031 (Regulation (EU) 2024/2847 Art 13(19)); see SECURITY.md.
ferrohealth-perf 0.14.0
Changed
- The gate builds on ferrohealth-server 0.11, whose overload bound lets a
request wait briefly for a slot; the CLI, its flags and its report are
unchanged (#403).
Support period
Only the newest release is supported: there are no maintenance branches, no long-term-support line and no backports, and upgrading is free. Under the Cyber Resilience Act, Cadasto B.V. commits to keep publishing security fixes for at least five years after each release (Art 13(8)) and ships them only in the newest release (Art 13(10)). For this release that commitment runs until the end of November 2031 (Regulation (EU) 2024/2847 Art 13(19)); see SECURITY.md.
ferrohealth-perf 0.13.0
Added
- Breaking: the load report gives the generator's lag at p50
(lag_p50_ms) and its largest value (lag_max_ms) beside its p99, so a
run shows how much of each latency the generator itself added and
whether it kept up.LoadReportgains both fields, and
quantile::max_msreads a histogram's largest sample (#400).
Fixed
- The open-loop schedule woke on tokio's timer, which rounds a deadline up
to its next millisecond tick, so every latency carried up to a
millisecond of the generator's own wake lag. The schedule now runs on a
thread of its own that sleeps on the operating system until a margin
before each intended instant and yields through the rest; the margin
follows how late the host's sleeps wake. Every latency is still timed
from the intended instant, so a late send is still charged in full. The
lag is now measured where the send starts, after the hand-off to the
runtime. Dropping a phase's future stops its schedule at the next
arrival (#400).
Support period
Only the newest release is supported: there are no maintenance branches, no long-term-support line and no backports, and upgrading is free. Under the Cyber Resilience Act, Cadasto B.V. commits to keep publishing security fixes for at least five years after each release (Art 13(8)) and ships them only in the newest release (Art 13(10)). For this release that commitment runs until the end of November 2031 (Regulation (EU) 2024/2847 Art 13(19)); see SECURITY.md.
ferrohealth-usage-report 0.5.0
Changed
- Breaking: the crate builds on ferrohealth-telemetry 0.5, whose
InitError
no longer hasAlreadyInstalledand whoseTelemetry::installinstalls
its ownlogbridge beside the subscriber. A product moves to
ferrohealth-telemetry 0.5 in the same change (#391).
Support period
Only the newest release is supported: there are no maintenance branches, no long-term-support line and no backports, and upgrading is free. Under the Cyber Resilience Act, Cadasto B.V. commits to keep publishing security fixes for at least five years after each release (Art 13(8)) and ships them only in the newest release (Art 13(10)). For this release that commitment runs until the end of November 2031 (Regulation (EU) 2024/2847 Art 13(19)); see SECURITY.md.
ferrohealth-telemetry 0.5.0
Added
log_bridge::installinstalls the process subscriber with the crate's own
bridge from thelogcrate, for a product that builds its subscriber from
Telemetry::layersand layers of its own.InitError::Subscriberand
InitError::Loggerreport a subscriber or aloglogger the process
already has (#389).
Changed
Telemetry::installinstalls thelogbridge beside the subscriber in
place oftracing-subscriber'stry_init, which installedtracing-log's
LogTracerwhenever a crate in the build enabled that feature (#389).
Removed
- Breaking:
InitError::AlreadyInstalled.Telemetry::installreports
InitError::SubscriberorInitError::Loggerin its place (#389, #391).
Fixed
- A
logcheck no longer drops the next event on its thread. Under a
console filter that lets a target through above its default level, such
asinfo,ferrohealth_smart=debug, a dependency'slog::log_enabled!at
debug(sqlx asks it for every query) reached the per-layer console
filter throughLogTracer, which answered false and left that decision on
the thread, sotracing-subscriber0.3.23 dropped the next event of a
callsite whose interest it had cached (#388): in a running product, the
request line of every request that ran a query. The bridge answers
log::Log::enabledfrom the global maximum level and dispatches each
record as the event of a callsite registered for its target and level, so
every layer decides on it through callsite interest (#389).
Support period
Only the newest release is supported: there are no maintenance branches, no long-term-support line and no backports, and upgrading is free. Under the Cyber Resilience Act, Cadasto B.V. commits to keep publishing security fixes for at least five years after each release (Art 13(8)) and ships them only in the newest release (Art 13(10)). For this release that commitment runs until the end of November 2031 (Regulation (EU) 2024/2847 Art 13(19)); see SECURITY.md.