Is there a performant, atomic way to “dequeue” from a table and see if the table is empty in MySQL?

后端 未结 0 1589
旧时难觅i
旧时难觅i 2020-12-09 02:26

I have a table to store state for an SQS queue that is accessed from multiple processes. The way that it works now is that all messages in the queue are added to the table.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题