使用nodejs和mongodb进行动态任务调度

With an unexpected response from my very first blog to task scheduling with Redis here I’m writing another blog on to overcome the same solution with the MongoDB as many of my friends asked for it. Trust me its a very simple and very great solution if you want task scheduling with persistence (Please don’t use setTimeout)

在我的第一个博客上对Redis的任务调度产生了意外的React之后,我正在写另一个博客,以克服我的许多朋友所要求的与MongoDB相同的解决方案。 如果您希望持久性地进行任务调度,请相信我,它是一个非常简单且非常出色的解决方案(请不要使用setTimeout)

I’m going to show you that how can we use NodeJS with MongoDB for dynamic tasks to be performed by a service on dynamic timings given by the frontend.

我将向您展示,我们如何将NodeJS与MongoDB一起用于由服务按前端提供的动态计时执行的动态任务。

So, first thing, why I choose MongoDB for job scheduling? As we all know that MongoDB is a really popular NoSQL Database to be used with NodeJS and NodeJS is now being very popular for the go-to choice for the backend systems, so it can be really easy to adopt this service with your code structure if you are using Node and MongoDB.

那么,第一件事,为什么我选择MongoDB进行作业调度? 众所周知,MongoDB是一个非常流行的NoSQL数据库,可以与NodeJS一起使用,而NodeJS现在已经成为后端系统的首选,因此,如果您的代码结构很容易采用此服务,您正在使用Node和MongoDB。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值