Learn about Centmin Mod LEMP Stack today
Register Now

WebPerf Cloudflare PageSpeed Cloudflare Speed Week

Discussion in 'Web Development & Web Performance' started by eva2000, May 14, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    This week is Cloudflare Speed Week - this is it's first time launch where the whole week is dedicated to showcasing what Cloudflare is doing to speed up the internet and it's customers' web sites :) Cloudflare web acceleration has already shown to benefit alot of Centmin Mod Nginx users, so these new feature announcements are welcomed :D

    First up is Cloudflare blog post showcasing Cloudflare Argo and the new Cloudflare Global Private Backbone.

     
  2. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    As a pagespeed addict, couldn't help myself so enabled Cloudflare Argo for centminmod.com and all domains i.e. this forum :) Yes there's additional costs for Cloudflare Argo Smart Routing though https://support.cloudflare.com/hc/en-us/articles/115000224192

    Guess I need to wait 48+ hrs before Cloudflare Argo Analytic statistics show up - querying Cloudflare Argo API
    Code (Text):
    curl -sX GET "https://api.cloudflare.com/client/v4/zones/${zid}/analytics/latency/colos" -H "Authorization: Bearer $cfkey" -H "Content-Type: application/json"
    {
      "result": null,
      "success": true,
      "errors": null,
      "messages": [
        {
          "code": 1234,
          "message": "Argo Smart Routing is optimizing 87.0% of requests to your origin. There have not been enough requests to your origin in the last 48 hours to display detailed performance data."
        }
      ]
    }
    

    Cloudflare Argo Analytics starting to show up. From my custom cf-analytics.sh script querying both CF Zone and Argo Analaytics for a domain

    this is Argo Analytics part :)
    Code (Text):
    ./cf-analytics.sh 24hrs                                                 
    ------------------------------------------------------------------
      Cloudflare Argo Analytics
    ------------------------------------------------------------------
      since: 2019-05-13T21:53:00Z
      until: 2019-05-15T07:55:00Z
    ------------------------------------------------------------------
      Argo Response Time:
    ------------------------------------------------------------------
      request-without-argo: 6282
      request-with-argo: 56404
      argo-smarted-routed: 86.2%
      argo-improvement: 60.0600%
      without-argo: 383 (milliseconds)
      with-argo 153 (milliseconds)
    ------------------------------------------------------------------
      Argo Cloudflare Datacenter Response Times
    ------------------------------------------------------------------
      ATL  14584  0.6288817279605762   330.5444305381727   122.67107789358201
      LHR  1604   0.6415915970039859   472.99723756906076  169.52618453865335
      DME  1250   0.6375640659208469   726.6608391608391   263.368
      HAM  597    0.3539220653522123   333.6392405063291   215.5569514237856
      ORD  761    0.5590327372450438   207.5609756097561   91.52759526938239
      ARN  1276   0.538852376849302    475.388198757764    219.22413793103448
      FRA  3405   0.6163214864285327   533.5953608247422   204.72907488986783
      AMS  1822   0.6683572200088377   582.8351955307263   193.29308452250274
      AKL  772    0.4643016303689894   698.7755102040817   374.33290155440415
      NRT  1487   0.560084374861064    367.3787878787879   161.61566913248151
      SJC  429    0.5023774280374559   399.81481481481484  198.95687645687644
      EWR  997    0.6232081453363305   303.7109375         114.4358074222668
      SIN  2004   0.6172478683329683   639.2209302325581   244.6631736526946
      SEA  5231   0.3900570082855188   119.93859649122807  73.15570636589563
      IAD  13435  0.6250579033758243   327.0426829268293   122.62206922218087
      CDG  935    0.5750737863559962   512.445054945055    217.75133689839572
      YVR  965    0.4740699772952203   148.33333333333334  78.01295336787565
      BNE  543    0.44177230205679574  659.8015873015873   368.3195211786372
      HKG  1335   0.5311103779910232   474.05405405405406  222.27902621722848
      GRU  842    0.5846446654195169   706.1320754716982   293.2957244655582
      KBP  1549   0.6220275590440028   659.6005917159763   249.31084570690768
      MIA  637    0.6002104551734758   286.71875           114.62715855572998
      total-argo-reqs: 56460
      datacenter-calc-avg-resp-without: 382.6575
      datacenter-calc-avg-resp-with: 153.1784
      argo-improvement:
          min: 0.3539
          avg: 0.5571
          max: 0.6684
          stddev: 0.0863
      argo-resp-time-without-argo:
          min: 119.9386
          avg: 453.0086
          max: 726.6608
          stddev: 184.7685
      argo-resp-time-with-argo:
          min: 73.1557
          avg: 196.0579
          max: 374.3329
          stddev: 84.1581
    
     
    Last edited: May 14, 2019
  3. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Day 2 still related to HTTP/2 is new Cloudflare feature for parallel streaming of progressive images https://blog.cloudflare.com/parallel-streaming-of-progressive-images/ - currently is in beta so you need to sign up for beta testing.
    upload_2019-5-15_11-16-52.png
     
  5. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Day 3 of Cloudflare Speed Week for Image Resizing product for Business and higher plans - aka similar to ngx_pagespeed/mod_pagespeed https://blog.cloudflare.com/announcing-cloudflare-image-resizing-simplifying-optimal-image-delivery/

    cloudflare-image-resizing-01.png
     
  6. pamamolf

    pamamolf Well-Known Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +838
    Local Time:
    12:53 AM
    Nginx-1.26.x
    MariaDB 10.6.x
    Damn this week will be for paid plans only? :banghead:
     
  7. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Day 4, Cloudflare new Concurrent Video Streaming Acceleration for Enterprise account users https://blog.cloudflare.com/introducing-concurrent-streaming-acceleration/

    The problem
    The solution
     
  8. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Day 5, Faster script loading with BinaryAST?

     
  9. deltahf

    deltahf Premium Member Premium Member

    587
    265
    63
    Jun 8, 2014
    Ratings:
    +489
    Local Time:
    5:53 PM
    Really cool to see those statistics.

    I would absolutely love to have it myself... I have a very international audience and I think a lot of my low cache rate is simply from the fact that people are accessing so many different edges. Unfortunately, it would take my Cloudflare bill from $25/month to $1k+/month. :(
     
  10. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yeah Cloudflare Argo is costly if you're not a for-profit site earning revenues to cover the cost but it is showing good benefits since I enabled it, so Google Webmaster Tools's reported Crawl Statistics show Google bot's download time has improved noticeably from May 14th onwards - when I enabled Cloudflare Argo from ~304ms to 178-180ms ! Which potentially means you have increased your Google crawl rate and Google crawl budget by >41% !

    cf-argo-webmaster-tools-crawl-stats-02.png
     
  11. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    indeed alot of the new CF speed improvements seem to be for paid plans or paid options unfortunately :(
     
  12. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Final item for Cloudlfare Speed Week, new Speed page https://blog.cloudflare.com/new-speed-page/

    Nice Patrick Meenan's Webpagetest.org work reflected in this new Cloudflare Speed page - FYI Patrick has left Google to work for Cloudflare for folks who didn't know :)

    cf-speed-page-demo.png

    and

    cf-speed-tcp-turbo.png
     
  13. eva2000

    eva2000 Administrator Staff Member

    55,402
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:53 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Follow up from HTTP/2 Enhanced Prioritization work - https://blog.cloudflare.com/nginx-structural-enhancements-for-http-2-performance/ and work on improving Nginx internals in relation to HTTP/2 HTTPS.