The premise is this: for asynchronous processing of a job, I have a home structure that:
- Stores jobs in the database
- It has a simple java api for creating additional tasks and processors for them.
- Processing can be embedded in a web application or can work on its own on different machines to scale
- Web interface for queue control and cancellation of queue elements
I would like to replace this with some ready-made library, because I would expect more reliability from them, and I do not want to support it. I investigated the problem and decided that you can use JMS for something like this. But I still have to create a simple java-API, calculate the runtime, where I would put the processing when I want to scale and build the monitoring interface. I feel that the only thing I get from JMS is that I will not need to do this with the database.
Is there anything similar to this, ready-made?
UPDATE
This is basically the setup I would like to do:
- The web application runs in the Servlet container or application server
- The web application uses the client api to create tasks.
- X number of machines handle these jobs.
- Monitoring and managing tasks from the user interface
palto
source share