Does anyone have any experience with this or any ideas/input? Or perhaps an alternative method of communicating with my node program from Laravel?
My current setup is thus:
Note that web is also able to communicate with papi.
So, the web server is going to be powering a relatively complex web application and so I will be using jobs/queues for various things, most likely. And most of these I'll want to consume from PHP/Laravel code.
But now and again, I'll need a job triggered from web to be ultimately processed by node.
I'm thinking that I can just have a second job queue setup on papi which is solely for node-specific jobs.
Then I can presumably just not run any queue worker at all on the node/papi server and instead consume those jobs from Node/JS.
But this all feels a little clunky. Any input appreciated.