From e436c1893e0a2da8e647342002da4d3da6e2b6e4 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Thu, 17 Oct 2024 14:39:57 +0300 Subject: Add more notes for the monitoring and logging step. --- topics/lmms/rqtl2/gn-rqtl-design-implementation.gmi | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'topics') 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. -- cgit v1.2.3