基于Java的任务处理服务器
寻找一个小型、轻量级服务器的基本框架,可以有效地从 beanstalk 或 SQS 等中提取作业/消息并处理它们。
Octobot (https://github.com/cscotta/octobot) 看起来不错,但最近似乎没有人为其做出贡献。还有其他选择吗?
Looking for a base framework for a small, lightweight server that can efficiently pull jobs/messages off of something like beanstalk or SQS and process them.
Octobot (https://github.com/cscotta/octobot) looks good, but no one seems to be contributing to it recently. Any other alternatives?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尽管看起来很糟糕,但您可能需要考虑在 Tomcat 中运行您的东西。您可以将您的应用程序打包为一个 war,拥有良好的自动化部署选项,并且很容易绑定到 web 应用程序的生命周期中。另外,如果您需要管理前端,那么您已经成功了一半(尽管 JMX 可能更适合)。
您还可以查看 Spring Batch/Spring Integration,它可能提供您可以使用的组件。
As awful as it might seem, you might want to consider running your stuff inside Tomcat. You can pack your application as a war, have nice automated deployment options and it's quite easy to tie into the lifecycle of a webapp. Plus, if you need a management frontend, you are halfway there (although JMX might be better suited).
You can also look at Spring Batch/Spring Integration, which might provide components you can use.