如果你希望学习 CDN 相关知识,那么建议你可以遍历以下软件的说明文档。
› NGINX
› cURL
aveline
V2EX  ›  CDN

Fastly 对大文件分发的改善

  •  
  •   aveline · Oct 29, 2014 · 4185 views
    This topic created in 4419 days ago, the information mentioned may be changed or developed.
    4 replies  •  2014-10-29 05:43:15 +08:00
    aveline
    aveline
    OP
    Oct 29, 2014
    1
    仔细看了下,3.x 里文档是这么写的:

    Deliver the object to the client directly without fetching the whole object into varnish. If this request is pass'ed it will not be stored in memory. As of Varnish Cache 3.0 the object will marked as busy as it is delivered so only client can access the object.

    而 4.x 是:

    Deliver the object to the client directly without fetching the whole object into varnish. If this request is pass'ed it will not be stored in memory.
    Livid
    Livid
    MOD
    PRO
    Oct 29, 2014
    2
    没有想到之前居然是这样的:

    To illustrate this, let’s look at a download example. If a 25MB application is being served from an origin over a connection that’s giving each client ~375kb/s, the download will take about 70 seconds. If that application was cached on Fastly without the Stream-on-Miss feature, then the first client to get a miss would have to wait 70 seconds while Fastly fetched it from the origin, and only then would they start downloading from our edge server.
    aveline
    aveline
    OP
    Oct 29, 2014 via iPhone
    3
    @Livid 我也没有想到,另外 100M 的限制也是有点囧,可能因为早期 Varnish 只缓存到内存?
    sNullp
    sNullp
    Oct 29, 2014
    4
    我之前测试各种反代程序就是为了观察这种情况:
    /t/141198
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2075 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 12:45 · PVG 20:45 · LAX 04:45 · JFK 07:45
    ♥ Do have faith in what you're doing.