Answer the question
In order to leave comments, you need to log in
How to implement a job queue server over HTTP?
How can a job queue server be implemented with the following characteristics:
1. HTTP is used as the transport.
2. The number of workers is not constant.
3. Workers keep a direct connection to the server using WebSocket and receive notifications about new available tasks.
4. The server gives the task to the first worker who makes a request to receive it.
To implement such a queue server, is it best to make a Web application using some kind of framework, or can you use ready-made queue servers (RabbitMQ, ZeroMQ, ...)?
Answer the question
In order to leave comments, you need to log in
RabbitMQ + https://www.rabbitmq.com/web-stomp.html
And don't hit the bike.
if the task is still real, it comes down to finding the answer "which of the third-party queue servers works fine with WebSocket": make a list, study, try
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question