vocdoni/census3

feature: transparent queue IDs

Closed this issue · 0 comments

Some Census3 actions take too much time to complete. The endpoints that perform these actions implement a
a queue, the status of which can be queried using a queueID.
This queueID is an internal identifier for the queue process and is a randomly generated string.

This queueID must be transparent to the API, using the same identifier inputs as the endpoint that launches the heavy action. Internally, Census3 must hash these inputs that generate the queueID. This allows the queueID to be removed from the API.

The input encoding process must be deterministic.