Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在线部署迁移到Cloudflare,弃用Deno deploy,同时支持Docker运行 #36

Open
2 tasks
jooooock opened this issue Nov 5, 2024 · 2 comments
Open
2 tasks

Comments

@jooooock
Copy link
Owner

jooooock commented Nov 5, 2024

  • 迁移到CF
  • 支持Docker

背景

Cloudflare与Deno deploy的免费及付费资源额度对比:

对比项 CF Deno Deploy CF 付费(5$/月) Deno Deploy 付费(20$/月)
请求量/月 100k/天,约3M/月 1M/月 10M/月 5M + M/$2
CPU 10ms/req 50ms/req 30s/req 50ms/req
带宽/月 100GB 200GB + GB/$0.5
KV存储 1GB 1GB 5GB + GB/$0.75
KV/read 100K/天,3M/月 450K/月 1.3M + M/$1
KV/write 1K/天,30K/月 300K 读 10M/月
写 1M/月
删除 1M
遍历 1M
900K + M/$2.5

综合算下来,还是CF更划算。

@leangjia
Copy link

leangjia commented Nov 6, 2024

在Cloudflare是怎么部署的,搞了几天,没搞定,求教程。谢谢大佬

@jooooock
Copy link
Owner Author

jooooock commented Nov 6, 2024

在Cloudflare是怎么部署的,搞了几天,没搞定,求教程。谢谢大佬

我还没开始迁移,不过项目使用nuxt开发的,你可以参考这个教程 https://nuxt.com/deploy/cloudflare

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants