You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user of Duffy,
I want that my requests are answered quickly,
so that I don't feel ignored.
Acceptance Criteria
A suitable task worker framework is integrated and can be used for long-running tasks.
Celery is set up to process tasks generated by the API frontend
Redis is set up to manage the queue(s) of tasks that need to processed
Background
There are a couple of things which need a longer time than what people expect an API call to take: provision a new node with an operating system (to be put into a pool for quick reuse), set up a provisioned host with SSH keys etc. before it can be handed out to tenants.
The text was updated successfully, but these errors were encountered:
The tasks module will contain potentially long-running operations, like
checking node pools and topping them up. These tasks will be performed
by a Celery worker in the background and only triggered from the
controller function in order to not block the API.
Fixes: CentOS#130
Signed-off-by: Nils Philippsen <nils@redhat.com>
nphilipp
added a commit
to nphilipp/duffy
that referenced
this issue
Dec 8, 2021
The tasks module will contain potentially long-running operations, like
checking node pools and topping them up. These tasks will be performed
by a Celery worker in the background and only triggered from the
controller function in order to not block the API.
Fixes: CentOS#130
Signed-off-by: Nils Philippsen <nils@redhat.com>
The tasks module will contain potentially long-running operations, like
checking node pools and topping them up. These tasks will be performed
by a Celery worker in the background and only triggered from the
controller function in order to not block the API.
Fixes: #130
Signed-off-by: Nils Philippsen <nils@redhat.com>
Story
As a user of Duffy,
I want that my requests are answered quickly,
so that I don't feel ignored.
Acceptance Criteria
Background
There are a couple of things which need a longer time than what people expect an API call to take: provision a new node with an operating system (to be put into a pool for quick reuse), set up a provisioned host with SSH keys etc. before it can be handed out to tenants.
The text was updated successfully, but these errors were encountered: