diff --git a/docs/architecture/architecture.md b/docs/architecture/architecture.md index 5de01c88b..e5cf176fe 100644 --- a/docs/architecture/architecture.md +++ b/docs/architecture/architecture.md @@ -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.