ores.compute.host
Table of Contents
Represents a physical or virtual machine that participates in the BOINC-inspired compute grid. Tracks hardware capabilities, heartbeat, and accumulated credit.
1. Flags
2. Columns
2.1. id
UUID primary key for the host.
2.2. external_id
User-defined name or hostname for the node.
2.3. location
Physical site or region identifier.
2.4. cpu_count
Total logical CPU cores available.
2.5. ram_mb
Total system memory in megabytes.
2.6. gpu_type
GPU model identifier, e.g. 'A100' or NULL if no GPU.
2.7. display_name
Whimsical adjective+animal display name assigned on first registration. Display-only; never used as a key.
std::string(faker::word::noun()) + "-host-" + std::to_string(idx)
2.8. last_rpc_time
Timestamp of the last heartbeat received from this node.
2.9. credit_total
Accumulated work units successfully processed by this host.
3. SQL
3.1. Flags
4. C++
4.1. Flags
4.2. Repository
4.3. Domain includes
#include <string> #include <cstdint> #include <chrono>
4.4. Conventions
4.5. Table display
| column | header |
|---|---|
| id | ID |
| external_id | External ID |
| display_name | Display Name |
| location | Location |
| cpu_count | CPU Count |
| ram_mb | RAM (MB) |
| gpu_type | GPU Type |
| last_rpc_time | Last RPC Time |
| credit_total | Credit Total |
| modified_by | Modified By |
| recorded_at | Recorded At |
4.6. Custom repository methods
4.6.1. Client model DisplayName data
5. See also
- ores.compute — component group overview.