Handling long-running or heavy tasks inside a a requests is something you should avoid.
- It blocks the available processes for other requests.
- browser request timeout
Instead of using one of the job queue implementations available for perl
i decided to reuse/abuse my database.
Add a 'job' table
CREATE TABLE "job" ( "id" serial NOT NULL, "test_id" integer NOT NULL, …