amir_developer's avatar

Async processes in laravel microservices

Hi, i have a question about async processes . we are using RabbitMQ for our job. but my question is when we dispatch a job in our system, each microservice that get that job should have the job. and it make a dependency between our services. Thanks for your helping.

0 likes
1 reply
martinbean's avatar

each microservice that get that job should have the job

@amir_developer That’s not how a queue works. You send a message to a queue, a single worker processes it.

and it make a dependency between our services

Then you don’t have microservices. You should only be creating separate services if there’s a clear boundary between the data. There clearly isn’t if you have dependencies between multiple services.

Please or to participate in this conversation.