naiguobao
V2EX  ›  问与答

阿里云 OSS 存储的流量问题

  •  
  •   naiguobao · Mar 30, 2020 · 2280 views
    This topic created in 2251 days ago, the information mentioned may be changed or developed.

    假如在文章中插入 20M 的视频,播放的时候流量如何计算?如果被恶意消耗如何解决?

    3 replies    2020-03-30 20:19:28 +08:00
    SomeBottle
        1
    SomeBottle  
       Mar 30, 2020
    建议在云监控那里设置一个回调,被恶意消耗时通过 api 暂停服务。不然如果被盯上了那钱是哗哗流
    Licsber
        2
    Licsber  
       Mar 30, 2020
    播放当然按下载流量 20M
    恶意消耗就不是消耗了么
    同样需要掏自己的钱包的
    eason1874
        3
    eason1874  
       Mar 30, 2020
    用户端加载了多少就消耗多少流量,不管用户有没有看。有时候一些傻子爬虫反复抓取也消耗不少流量,最好屏蔽不正常 UA 和不正常 referer 。

    OSS 不管是不是恶意,只要消耗了就计费。OSS 流量费高,最好套 CDN,CDN+OSS 的组合的流量费用比 OSS 的低。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2721 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 14:45 · PVG 22:45 · LAX 07:45 · JFK 10:45
    ♥ Do have faith in what you're doing.