|
| 1 | +# Concepts |
| 2 | + |
| 3 | +This document describes the concepts behind `nativelink-live`, a real-time live feed viewer for NativeLink. |
| 4 | +It's intended to provide insight into the inner workings of NativeLink by displaying live data feeds. |
| 5 | + |
| 6 | +## Key Components |
| 7 | + |
| 8 | +### Live Activity Monitor |
| 9 | + |
| 10 | +This feature offers a real-time, filterable view of all activities occurring within NativeLink. |
| 11 | +It allows users to monitor events as they happen, providing immediate insights into system operations. |
| 12 | + |
| 13 | +#### Key Capabilities: |
| 14 | + |
| 15 | +- View real-time activities. |
| 16 | +- Filter activities by various criteria (for example, type, status). |
| 17 | + - Type: All, Upload, Download, Clients, Executions, Others |
| 18 | + - Status: All, Success, In Progress, Queued, Failed, Canceled |
| 19 | +- Search for specific activities using keywords. |
| 20 | +- Clicking the item would show like: Details, `Stdout`, `Stderr` (if applicable), Timestamp. |
| 21 | + |
| 22 | +### Worker Status Dashboard |
| 23 | + |
| 24 | +This dashboard provides a overview of the status of all workers in the NativeLink clusters. |
| 25 | +It displays information such as status, information, and metrics of each worker. |
| 26 | + |
| 27 | +#### Key Capabilities: |
| 28 | + |
| 29 | +- View the information of all workers. |
| 30 | + - Worker ID, Live Metrics(CPU, Memory, Disk, Network), Assigned Actions, Last Heartbeat |
| 31 | + - Status: Idle, Working, Unavailable, Offline |
| 32 | + - Idle: The worker is online and waiting for tasks. |
| 33 | + - Working: The worker is currently processing tasks. Also has sub-statuses: Downloading, Executing, Uploading |
| 34 | + - Unavailable: Temporarily unable to connect. Maybe worker is dead? |
| 35 | + - Offline: The worker is offline and not available for tasks. |
| 36 | + - Shows the assigned actions to each worker by tree-view. |
| 37 | + - Search for specific workers using keywords. |
| 38 | + |
| 39 | +### Storage Status Overview |
| 40 | + |
| 41 | +This overview provides a summary of the status of all storage connected to NativeLink. |
| 42 | +It displays information such as status, configuration, and usage of each storage. |
| 43 | + |
| 44 | +### Client Connection Overview |
| 45 | + |
| 46 | +This overview provides a summary of the status of all clients connected to NativeLink. |
| 47 | +This helps to identify which clients are interacting with the nativelink cluster, what they're doing. |
| 48 | + |
| 49 | +#### Key Capabilities: |
| 50 | +Client ID, Connection Info, Status(Idle, Disconnected), Metrics(total execution, data transferred, last seen), Activities |
| 51 | + |
| 52 | +### Log stream viewer |
| 53 | + |
| 54 | +This feature provides a real-time stream of logs from NativeLink components. |
| 55 | +It allows of users/devs to monitor logs and deep-dive debugging without requiring terminal access of nativelink. |
| 56 | +The UI should be similar as Chromium's console tab viewer. |
0 commit comments