Skip to content

Create an SQS queue for submitting analysis tasks #75

@brianok77

Description

@brianok77

We need an SQS queue that will be used by the workers in #74 to get risk scoring tasks to perform. This queue will contain messages with payloads describing the task, including (a) which device we are assessing, (b) the identifier of the risk assessment measure to be run to generate the score, and (c) the timestamp of the request (used for storing the results).

NOTE: We need to make sure the SQS topic visibility timeout is sufficiently long. The default of 30 seconds may not be long enough, which will result in the workers doing repeat work.

NOTE 2: We should also configure a dead-letter-queue (DLQ) that will capture messages that cannot be processed. If it becomes a problem area, later we can add a monitor to the DLQ to generate notifications when messages are failing to process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions