summaryrefslogtreecommitdiff
path: root/topics
diff options
context:
space:
mode:
authorAlexander_Kabui2024-10-17 13:52:07 +0300
committerAlexander_Kabui2024-10-17 15:02:54 +0300
commit7cd1496f192ac712b0461504b95340f85005cd73 (patch)
treeef17fa1403962b3fe23efe9f48e5ad5580573f13 /topics
parent534c9613c36524f77c4a834ccc61548c7771549e (diff)
downloadgn-gemtext-7cd1496f192ac712b0461504b95340f85005cd73.tar.gz
Add link for the task queue implementation for gn3.
Diffstat (limited to 'topics')
-rw-r--r--topics/lmms/rqtl2/gn-rqtl-design-implementation.gmi12
1 files changed, 9 insertions, 3 deletions
diff --git a/topics/lmms/rqtl2/gn-rqtl-design-implementation.gmi b/topics/lmms/rqtl2/gn-rqtl-design-implementation.gmi
index 5a88cdc..3df19cc 100644
--- a/topics/lmms/rqtl2/gn-rqtl-design-implementation.gmi
+++ b/topics/lmms/rqtl2/gn-rqtl-design-implementation.gmi
@@ -82,7 +82,8 @@ In this step, we need to retrieve the results outputted from the script in a spe
### Monitoring system for the rqtl script
This component involves creating a monitoring system to track the state of the external process and output relevant information to the user.
-
+We need a way to determine the status for the current job for example
+QUEUED, STARTED, INPROGRESS, COMPLETED
## Deep Dive
@@ -91,8 +92,13 @@ This component involves creating a monitoring system to track the state of the e
### Running the External Script
The RQTL implementation is in R, and we need a strategy for executing this script as an external process. This can be subdivided into several key steps:
-- **Task Queue Integration**:
- - We will utilize a task queue system (currently implemented in GN3) to manage script execution.
+- **Task Queue Integration**:
+
+ - We will utilize a task queue system ,
+ We already have an implementation in gn3
+ to manage script execution
+
+- https://github.com/genenetwork/genenetwork3/blob/0820295202c2fe747c05b93ce0f1c5a604442f69/gn3/commands.py#L101
- **Job Submission**:
- Each API call will create a new job in the task queue, which will handle the execution of the R script.