HSG-MCS-HS21_tapas/doc/architecture/decisions/0004-seperate-service-for-executor-pool.md

21 lines
1.0 KiB
Markdown
Raw Normal View History

2021-11-21 18:45:16 +00:00
# 4. Separate service for the Task List
2021-11-21 18:45:16 +00:00
Date: 2021-11-21
## Status
Accepted
## Context
2021-11-21 18:45:16 +00:00
Tasks are created in the task list, and the status of each task (created, assigned, executing, executed) is tracked in the task list as well. The task list mainly communicates with the roster so that tasks can get assigned and the roster will give the task list feedback about the tasks status.
## Decision
2021-11-21 18:45:16 +00:00
The task list will be its own service.
The task list needs to scale based on the number of active users and the intensity of their activity at any time while the scaling of other parts of the system can be constrained by other factors.
## Consequences
2021-11-21 18:45:16 +00:00
Although having the task list as its own service might slightly increase the complexity of the system and decrease the testability, it also makes the system easier to deploy and protective of its data. However, to ensure that this data is always available and does not get lost, the task list needs to be able to recover all its data (the entire history of all tasks) in case it goes down.