开发者

long running process for worker processes to respond to rabbitmq messages

My web app开发者_C百科lication is writing messages to rabbitmq. Example, a user wants to export their data, so I write this message to the queue. The web application is not java based.

Now I am looking for suggestions on how to create an environment for responding to these messages i.e. worker processes

I want to be able to have multiple worker processes responding to new messages in the queue, and be able to tweak the # of worker processes to respond to demand etc.

Are there any java frameworks that are long running processes?


You could create a grid of working processes to respond to requests available in that rabbitmq. As by frameworks for handling this you could use GridGain, an Open Source Grid/Cloud infrastructure that would allow you to distribute the requests to a number of # worker processes. Another similar option is Condor. Both resolve similar issues but GridGain is more Java oriented.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜