Exposing simulator info to CLI/GUI or other external tools #1065
robgjansen
started this conversation in
Ideas
Replies: 1 comment
-
|
Some other metrics that would be useful for spotting Shadow performance bottlenecks would be
The latter is already recorded, I don't remember if the former is. Something that seems useful generally would be a way to extend this API from the plugins. That way you could do things like get information from Tor's control port via Shadow's API (e.g., monitor whether the network is bootstrapping correctly). |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hello Shadow community!
Here I explain an idea for extending Shadow that we are considering. My hope is to gauge the level of interest among those who use or are interested in Shadow.
The idea is analogous to what Tor does with it's control port. Tor has a specification that describes the protocol for querying information from Tor and what types of information is available. They also have client libraries like stem and user interfaces like nyx that are built on top of the control API. The idea is to do something similar to Shadow.
The idea is to develop an API through which external tools could query a running Shadow during a simulation for various information about the ongoing simulation. This would enable tools to more easily discover the state and progress of a long-running simulation, and would allow external CLI/GUI clients to be built to help users visualize a simulation while it is running. If we had such an API in shadow, we could ask contributors or other interested volunteers to consider working on a CLI/GUI that makes use of the information we expose. We could start by exposing basic information and extend the API over time.
Here is an incomplete list of basic information that we might consider making available through such an API:
Questions for discussion:
Beta Was this translation helpful? Give feedback.
All reactions