Skip to content

Commit c4afb18

Browse files
Changes made based on review
1 parent a15e053 commit c4afb18

File tree

1 file changed

+29
-21
lines changed

1 file changed

+29
-21
lines changed

src/vision/status_quo/barbara_wants_async_insights.md

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,35 @@ She thinks, "Anyhow it is working now, let's see if we got some performance gain
3737

3838
## 🤔 Frequently Asked Questions
3939

40-
* **What are the morals of the story?**
41-
* There are very few ways to get insights into running systems. Tracing is state of the art. `console.log` #ftw
42-
* Tracing is a static activity and there's no way to dynamically gain insights.
43-
* While it's possible to find solutions to these issues, often you don't have insight into if those solutions bring new problems.
44-
* Debugging process for non-trivial issues is almost guaranteed to be painful and expensive.
45-
* **What are the sources for this story?**
46-
* [Issue 75](https://github.com/rust-lang/wg-async-foundations/issues/75)
47-
* **What are Async Insights?**
48-
* Custom Events - logging/tracing (Per task?)
49-
* Memory consumption per task.
50-
* I/O handles in waiting state per task.
51-
* Number of tasks and their states over time.
52-
* Wake and drop specific tasks.
53-
* **Denoised** stack traces and/or stack traces that are task aware.
54-
* Who spawned the task?
55-
* Worker threads that are blocked from progressing tasks forward.
56-
* Tasks that are not progressing.
57-
* **Why did you choose [Barbara] to tell this story?**
58-
* Barbara knows what she's doing, but still there is little way to get insights.
59-
* **How would this story have played out differently for the other characters?**
60-
* [Alan] who is an Erlang developer, might miss the highly [debuggable](https://youtu.be/JvBT4XBdoUE) BEAM runtime. He would immediately find out that he can't easily analyze a task during runtime.
40+
### **What are the morals of the story?**
41+
* There are very few ways to get insights into running systems. Tracing is state of the art. `console.log` #ftw
42+
* Tracing is a static activity and there's no way to dynamically gain insights.
43+
* While it's possible to find solutions to these issues, often you don't have insight into if those solutions bring new problems.
44+
* Debugging process for non-trivial issues is almost guaranteed to be painful and expensive.
45+
46+
### **What are the sources for this story?**
47+
[Issue 75](https://github.com/rust-lang/wg-async-foundations/issues/75)
48+
49+
### **What are examples of the kinds of things a user might want to have insight into?**
50+
* Custom Events - logging/tracing (Per task?)
51+
* Memory consumption per task.
52+
* I/O handles in waiting state per task.
53+
* Number of tasks and their states over time.
54+
* Wake and drop specific tasks.
55+
* **Denoised** stack traces and/or stack traces that are task aware.
56+
* Who spawned the task?
57+
* Worker threads that are blocked from progressing tasks forward.
58+
* Tasks that are not progressing.
59+
60+
### **Why did you choose [Barbara] to tell this story?**
61+
Barbara knows what she's doing, but still there is little way to get insights.
62+
63+
### **How would this story have played out differently for the other characters?**
64+
Depending on what languages he was using before, [Alan] would likely have had experience with a stronger tooling story:
65+
* The highly [debuggable](https://youtu.be/JvBT4XBdoUE) BEAM (a VM), for Erlang.
66+
* [Delve](https://github.com/go-delve/delve), the debugging tool for Go.
67+
* Using [Visual Studio](https://devblogs.microsoft.com/visualstudio/how-do-i-debug-async-code-in-visual-studio/) to debug C#.
68+
* Debugging async Java using [IntelliJ](https://www.jetbrains.com/help/idea/debug-asynchronous-code.html).
6169

6270
[character]: ../characters.md
6371
[status quo stories]: ./status_quo.md

0 commit comments

Comments
 (0)