News for hackers. Stuff that matters.
Re:System design hack: Postgres is a great pub/sub and job s... by colinchartier on Friday November 08, 2019 @01:53PM (#21485432)
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.

There are no comments on this comment yet.