2 ms·
in my experience, implementing a queue in pg is more troublesome than mysql. In Mysql you can directly call Update queue set working_id=xxxx where working_id=
by est 4y ago
in my experience, implementing a queue in pg is more troublesome than mysql.
In Mysql you can directly call
Update queue set working_id=xxxx where working_id='' limit 1
to atomically pop one task from queue.