by 88stacks on 2/22/23, 10:47 PM with 1 comments
Question 2) Sometimes I inspect the smaller job results, and if they are bad, I delete the rest of the jobs. In redis I would need to select all jobs and filter them based off some criteria and then remove them. Im not sure how practical this is.
I have an accompanying database in postgresql. I was thinking about moving the queue to postgresql, but I think not giving the workers db access is safer/easier, but maybe I'm wrong? Another alternative I was thinking is to make a db/redis hybrid where postgresql is watching the redis queue and when the queue gets to under X items, it keeps filling up the queue. That seems like overkill.
by nadermx on 2/22/23, 11:37 PM