V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
icoming
V2EX  ›  Cloudflare

cf worker 有点火爆, API 资源容易被用尽 。。

  •  
  •   icoming · 34 天前 · 1379 次点击
    这是一个创建于 34 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 worker 中使用一个免费、不用登录的汇率查询 API ,我还没用就提示You are over your rate limit please upgrade your account!

    难受,应该是相同 IP 访问的太多了

    怎么搞定这种情况????

    {"Response":"Error","Message":"You are over your rate limit please upgrade your account!","HasWarning":false,"Type":99,"RateLimit":{"calls_made":{"second":1,"minute":1,"hour":33,"day":1196,"month":50018,"total_calls":344275},"max_calls":{"second":20,"minute":300,"hour":3000,"day":7500,"month":50000}},"Data":{}}
    
    第 1 条附言  ·  31 天前
    换 API 了。。
    6 条回复    2024-03-24 21:18:01 +08:00
    0o0O0o0O0o
        1
    0o0O0o0O0o  
       34 天前 via iPhone
    无解吧,控制不了子请求的 IP 吧,换个 API
    google2020
        2
    google2020  
       33 天前
    买个服务器
    Puteulanus
        3
    Puteulanus  
       33 天前
    看起来是超了每月 5W 次调用的限制,CF 这个量仁至义尽了吧,我用的 Pipedream 一天才给 100 次
    0o0O0o0O0o
        4
    0o0O0o0O0o  
       33 天前 via iPhone
    @Puteulanus #3 workers 是每天十万次免费请求,这是 workers 里子请求的 API 超了吧?我猜 OP 这个是因为太多在 workers 里用那个 API 的,导致请求 IP 都是 workers 的 IP ,更容易触发限制
    icoming
        5
    icoming  
    OP
       33 天前
    @0o0O0o0O0o 对,就是这种情况
    Puteulanus
        6
    Puteulanus  
       33 天前
    @0o0O0o0O0o
    @icoming 抱歉我理解错了。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2744 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 11:56 · PVG 19:56 · LAX 04:56 · JFK 07:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.