可以在图书馆内容纳Cron工作吗?
我们目前正在将单体应用程序拆分为一组微服务。这个整体应用程序包含某些功能,是成为库的良好候选者。该库将被其他几个微服务使用。
解耦功能还需要有 cron 作业来进行定期监控。
您认为将这些 cron 作业分布在库内而不是分布在单独的存储库中是一个好主意吗?
We’re currently splitting monolithic app into a set of microservices. This monolithic app contains certain functionality which is a good candidate to become a library. This library will be consumed by several other microservices.
Decoupled functionality also requires having cron jobs for regular monitoring.
Do you think it’s a good idea to have these cron jobs to be distributed inside the library and not in a separate repository?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在做出这一决定之前,我会考虑许多方面:
根据这两个方面,我相信您可以很容易地做出决定。
I would think about a number of aspects before taking that decision:
Based on those 2 aspects, I believe you can take the decision pretty easily.