Skip to content

RecurrentEdgeProcess

A typical-week resource demand placed on an EdgeComputer, decomposed into separate hourly RAM, compute, and storage curves. Auto-creates the matching component-level needs at construction time.

Usage from Python

Building a RecurrentEdgeProcess automatically creates the matching RecurrentEdgeProcessRAMNeed, RecurrentEdgeProcessCPUNeed, and RecurrentEdgeProcessStorageNeed. Updating the linked edge computer rewires those component needs to the new computer's components.

Params

name

A human readable description of the object.

edge_device

EdgeComputer that runs the process.

An instance of EdgeComputer.

recurrent_compute_needed

Hourly compute usage over a typical week.

Recurrent compute needed, in typical week of hourly timeseries data, starting on Monday at midnight. For example, 168 values in cpu core: first 10 vals [1, 1, 1, 1, 1, 1, 1, 1, 1, 1], last 10 vals [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]

recurrent_ram_needed

Hourly RAM usage over a typical week.

Recurrent ram needed, in typical week of hourly timeseries data, starting on Monday at midnight. For example, 168 values in GB ram: first 10 vals [2, 2, 2, 2, 2, 2, 2, 2, 2, 2], last 10 vals [2, 2, 2, 2, 2, 2, 2, 2, 2, 2]

recurrent_storage_needed

Hourly net storage rate over a typical week (positive = writes, negative = deletes).

Recurrent storage needed, in typical week of hourly timeseries data, starting on Monday at midnight. For example, 168 values in kB stored: first 10 vals [200, 200, 200, 200, 200, 200, 200, 200, 200, 200], last 10 vals [200, 200, 200, 200, 200, 200, 200, 200, 200, 200]

Calculated attributes