3 ms·
I actually used redis pub/sub before switching to triggers - it is significantly easier to just: INSERT INTO JOBS versus INSERT INTO JOBS redis-cli LPU
by colinchartier 7y ago
I actually used redis pub/sub before switching to triggers - it is significantly easier to just:
INSERT INTO JOBS
versus
INSERT INTO JOBS
redis-cli LPUSH job-queue job-id
It's also easier to configure, redis has BRPOPLPUSH for acked-queues, but it's much easier to just query jobs with a select statement from the database.