Skip to content

Commit

Permalink
Update docs/architecture/architecture.md
Browse files Browse the repository at this point in the history
Co-authored-by: Laurens Weijs <[email protected]>
Signed-off-by: GuusjeJuijn <[email protected]>
  • Loading branch information
GuusjeJuijn and laurensWe authored Jun 6, 2024
1 parent a7f7909 commit 6c9eb35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/architecture/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ The second option is to use the Algorithm Management Toolkit (AMT). The user sta

The backend consists of three components, showed in the component diagram at the end of this page.
1. An API application, which provides the project and tasks management functionality via HTTPS.
2. The business logic, which is the core logic of the AMT
2. The business logic, which is the core logic of the AMT.
3. A system state, which provides the state of the AMT.

When receiving an API call, the API application forwards the instruction to the business logic. The business logic, in turn, updates the system state and submits the task to the Redis message queue. The message queue stores the task messages until a Celery worker is ready to process a specific task. When a Celery worker is available, it uses the task library to execute the task. After the task is completed by the worker, the result is sent back to the business logic via the message queue. The business logic now sends an update to the system state and writes the result to the database. Finally, the business logic writes a System Card to an external repository.
Expand Down

0 comments on commit 6c9eb35

Please sign in to comment.