Proposal / Feedback Request: HPX-Vision (Distributed Observability Prototype for HPX) #7226
arpittkhandelwal
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
I’ve been working on an experimental project called HPX-Vision, which explores observability and debugging capabilities for the HPX runtime, particularly for distributed and asynchronous task graphs.
Repository: https://github.com/arpittkhandelwal/Hpx-Vision
Dashboard Preview
Current Problems
While working with HPX, I encountered several challenges:
Key Ideas Explored
Wait-For Graph (WFG)
Tracks inter-task dependencies and detects deadlocks using Tarjan’s SCC algorithm.
Sampling-based Metrics Collection
Lightweight probabilistic tracking to reduce runtime overhead.
Task Metadata & Heartbeats
Tracks activity of HPX threads and enables cleanup of stale state.
Fault-tolerant model
Lease-based consistency (edges expire, inactive tasks pruned).
Data export layer
JSON export for external visualization/debugging tools.
External dashboard (React + D3)
Visualizes task graphs and runtime behavior.
Motivation
This project explores whether richer observability can help:
Clarification
This is not a proposal to merge the full system into HPX.
The intention is to get feedback on whether:
Questions
Closing
Feedback on whether this direction is useful or aligns with HPX goals would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions