Skip to content

Script server input reads the cache only #41

Closed

Description

@somethingwithproof

Summary

Polling must be cheap and independent of the GPU node, so a slow node cannot delay Cacti's poller.

Requirements

  • REQ-SS-001 The script server input MUST read only the plugin's local cache and MUST NOT run a vendor tool, open a socket, or read a GPU node during a poll.
  • REQ-SS-002 The input MUST NOT throw; any failure MUST print U or an empty listing, never 0.
  • REQ-SS-003 The input MUST support the index, query, and get calls the data query defines.
  • REQ-SS-004 A value older than the staleness limit MUST print U.
  • REQ-SS-005 The input MUST complete in under 50 ms per call against a 10,000-row cache.

Acceptance criteria

  • Fixtures for current, stale, absent, and missing GPUs produce documented values.
  • Timing test at 10,000 rows.

References

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: cacti-objectsData queries, data sources, graphs, and templatesarea: performanceScale, cost, and response timephase: 1 nvidiaNVIDIA collection with alertingpriority: highNeeded for its milestonetype: requirementA testable behavior the plugin must have

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions