summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander_Kabui2024-10-17 14:39:57 +0300
committerAlexander_Kabui2024-10-17 15:02:54 +0300
commite436c1893e0a2da8e647342002da4d3da6e2b6e4 (patch)
tree1186afee9c610e68b9d60bd636f3095cf0fc88f6
parent7cd1496f192ac712b0461504b95340f85005cd73 (diff)
downloadgn-gemtext-e436c1893e0a2da8e647342002da4d3da6e2b6e4.tar.gz
Add more notes for the monitoring and logging step.
-rw-r--r--topics/lmms/rqtl2/gn-rqtl-design-implementation.gmi18
1 files changed, 17 insertions, 1 deletions
diff --git a/topics/lmms/rqtl2/gn-rqtl-design-implementation.gmi b/topics/lmms/rqtl2/gn-rqtl-design-implementation.gmi
index 3df19cc..2920247 100644
--- a/topics/lmms/rqtl2/gn-rqtl-design-implementation.gmi
+++ b/topics/lmms/rqtl2/gn-rqtl-design-implementation.gmi
@@ -107,7 +107,23 @@ The RQTL implementation is in R, and we need a strategy for executing this scrip
- This stage involves executing the R script in a controlled environment, ensuring all necessary dependencies are loaded.
- **Monitoring and Logging**:
- - The system will have monitoring tools to track the status of each job. Users will receive real-time updates on job progress and logs for the current task.
+
+- The system will include monitoring tools to track the status of each job. Users will receive real-time updates on job progress and logs for the current task.
+
+In this stage, we can have different states for the current job, such as QUEUED, IN PROGRESS, and COMPLETED.
+
+We need to output to the user which stage of computation we are currently on during the script
+execution.
+
+- During the QUEUED state, the standard output (stdout) should display the command being executed along with all its arguments.
+
+- During the STARTED stage, the stdout should notify the user that execution has begun.
+
+- In the IN PROGRESS stage, we need to fetch logs from the script being executed at each computation step. Please refer to this documentation for an overview of the different computation:
+=> https://rqtl.org/
+
+- During the DONE step, the system should output the results from the R/qtl script to the user.
+
- **Result Retrieval**:
- Once the R script completes (either successfully or with an error), results will be returned to the API call.