Softanza
DémarrerEnglish
Softanza
Référence · Systèmes et exécution

Performance

16 fonctions dans 12 classes, groupées par ce qu'elles font, chacune avec l'explication que la bibliothèque donne d'elle-même.

Le récit de ce domaine, pour un lecteur général : ce qu'un artisan en fait, un exemple exécuté et ses couloirs notés, est sur sa page de la Plateforme.

Les fonctions, par ce qu'elles font

Tester et vérifier

  • Check Judging -------------------------------------------------- One judgment pass. Fires alerts on TRANSITIONS only: a rule breaching now that was fine before -> breach alert; a rule fine now that was breached before -> clear alert. Returns the number of NEW breaches this pass. dans stzPerfSentinel
  • CheckAgainst Judging -------------------------------------------------- Judge every expectation against the monitor's MEASURED numbers. Returns the breaches as findings in the unified rule shape ([ :rule, :subject, :where, :severity, :message ], subject "perf") -- hand them to stzRuleReport.Ingest(). Full verdicts (passes included, with actuals) stay readable via Verdicts(). dans stzSla

Compter et mesurer

  • Count Samples ever recorded on this metric. dans stzMetric
  • MeanMs Lifetime mean -- exact (engine keeps the true sum; the buckets quantize, the sum does not). dans stzMetric
  • MaxThroughput Where this machine saturates IF CPU is the constraint (req/s). dans stzPerfProfile
  • Size Samples retained in the window (never exceeds Capacity()). dans stzPerfSeries

Remplacer et modifier

  • Set Gauge face dans stzMetric
  • SetChannels The event-bus channels alerts fan out on (process-global). dans stzPerfSentinel
  • SetBusyMs configuration dans stzLoadDriver

Convertir

  • ToOtelJson One OTLP-style span as a JSON string. dans stzStopwatch
  • ToOtelSpan OpenTelemetry export (industry interop) ------------------ The span as a hashlist in OTel vocabulary. Absolute anchors in unix NANOS as STRINGS (integer ms + "000000" -- exact, since f64 cannot hold epoch nanos); exact ns duration as an attribute. dans stzStopwatch
  • AsWarning Soften the LAST closed expectation: it advises, it does not fail the gate (stzRuleReport.IsSound ignores warnings by convention). dans stzSla
  • ToJson The OTLP resourceSpans envelope, every collected span inside. dans stzOtelBatch

Lire et écrire

  • LoadRatio The demand signal for elastic scaling (perf P6): how close this workload is to its CPU ceiling, X/Xmax in 0..1. This is what stzClusterSupervisor.ReportLoad() always wanted -- MEASURED, not hand-fed: FeedLoadFrom(tag, oProfile) closes the loop. 0 when nothing is measurable yet (no requests / no demand). (Named LoadRatio: `load` is a Haro keyword.) dans stzPerfProfile

Parcourir et appliquer

  • RunFor Standalone continuous mode: drive the cadence for nMs (blocking; for scripts and guards -- servers should host, not block). dans stzPerfMonitor
  • ExecuteOn The crossing (admission is governed) --------------------- Apply the plan to the target -- a stzAppCluster, or any object answering ScaleUp(tag)/ScaleDown(tag)/RestartDead() (a double in rehearsal, per the service-virtualization pattern). Returns the number of actions committed; 0 with a full refusal audit when the actor may not commit. dans stzPerfPlan

Les explications sont celles que la bibliothèque donne d'elle-même, en anglais, lues dans ses commentaires de documentation le 2026-10-01 04:14, from the library at commit 0e72e2e2c, by the library's own stzSelfDoc over 635 class sources.

Les classes de ce domaine

Les narrations sur ce domaine