|
|
|
|
|
by grimlck
4279 days ago
|
|
I'm pretty curious as to your statement 'Register jobs in Postgres, use RabbitMQ as the trigger mechanism. But this puts a burden on the processor, which now has to use two APIs.' Does that mean you know of a way to do it with just a DB and without a MQ? If you store the jobs in the database and dont have a parallel MQ system, exactly what triggers the job to be run? For example, a job might be to process a batch of pictures. To create the job, you would insert a row into the database. But when you insert the row, how would another machine know to wake up and start processing it? Is that other machine just polling? If so, how do you ensure two machines on the cluster dont pick up the same job? |
|