The mechanism for asynchronous processing of HTTP requests.
- It is required to develop a mechanism for asynchronous processing of HTTP requests
- Required stack: NodeJS, RabbitMQ
- Required as a repository on GitHub
- Need to attach instructions for local deployment of the project
- Required to implement logging for debugging and monitoring purposes
- It is required to develop an M1 microservice for processing incoming HTTP requests
- It is required to develop an M2 microservice for processing jobs from RabbitMQ
- We receive an HTTP request at the M1 microservice level.
- We broadcast the HTTP request to the RabbitMQ queue. The request is transformed into a task.
- We process the task with the M2 microservice from the RabbitMQ queue.
- We place the result of processing the job in RabbitMQ.
- We return the result of the HTTP request as the result of the job from RabbitMQ.
$ git clone https://github.com/KhitrovMaksim/nodejs-rabbitmq.git
$ cd nodejs-rabbitmq
$ docker-compose up -d --build -V
- Author - Maksim Khitrov
- LinkedIn - https://www.linkedin.com/in/maksim-khitrov/