top | item 20021455

(no title)

fsaintjacques | 6 years ago

Tables as queues is perfectly legit, one less component to worry about.

discuss

order

StavrosK|6 years ago

Does anyone have any rough performance numbers on each approach? I'll only use DB tables when I don't want to deploy Redis (which I usually do, as a cache or whatever), and I'll use RabbitMQ for more "serious" projects. On small projects, I'll even forgo Redis and use the DB as a cache too, which works pretty well.

What do y'all do?

ramraj07|6 years ago

My job queue requirements have been very modest (less than ten jobs per hour) and no more than 2 or 3 workers. I also generally have redis deployed but it never occurred to me to use it given it's "ephemeral" nature - always remained paranoid that services on the cloud should always be assumed to go down at any time

actuator|6 years ago

One more advantage it gives is you can have pretty easy job guarantees through the database transactions.