Skip to content

精确时间提醒方案 #115

@tseng2

Description

@tseng2

实现“指定时间点精确触发”(非轮询)的功能,常用的是 Upstash QStash(最重要的是有免费层级额度)。Upstas的QStash在免费层级提供每天1000条消息的额度,对于个人或小型团队的系统提醒绰绰有余。

这个方案的核心逻辑是:Worker将消息发给QStash暂存,QStash负责计时,时间到了它把消息推回给 Worker。

https://upstash.com/pricing/qstash

实现CF workers + KV + CRON(每天或每1小时轮询) + QStash(精确到分秒的用户提醒)

@wangwangit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions