by aneutron · 2y ago · 0 comments
All this to say that, yes, you theoretically CAN use SQLite as a message queue. But atomic operations are usually WAY lower on the "must have" list for a message queue than other parameters.
The easiest way you could verify this is by looking at the guarantees provided by some of the most known MsgQueues.
This is what ensures only one reader gets a message. SQLite has it, redis does not.