@ramsey I praised symfony/messenger so much that I did a whole talk about it last year at #phpday: https://alessandrolai.dev/talks/2024-phpday-symfony-messenger/

It may lose some easiness of configuration when outside of a Symfony app, but it's great and has all the bells and whistles. Also, there are drivers for all kinds of transports, and adapters for drivers from Enqueue too. I even wrote one for MongoDB.

@ramsey I created a message queue lib that works with MySQL database (and maybe postgres, I don't check), with many interesting features like priority, message to process in future...
That can handle around 100k messages before having some trouble / minor perf issues.
We use it at work without any problem.
https://github.com/php-mqdb/php-mqdb/

Maybe that could correspond to your needs 🙂

@ramsey I understand. Maybe that could not be a problem with MyISAM SQL engine or with postgres, but I can't guarantee that. The only thing is 100k without any problems used in environment with high workload.
I thought you did not need to process millions of messages.
And when I say 100k messages, it 100k messages to waiting to be processed.

System can handle millions of messages over the time, just if we have more than 100k lines in DB, that could affect a little the perf 🙂