Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Do a ping and help improve load balancing algorithm

13»

Comments

  • dedicadosdedicados Veteran
    edited October 2013

    mexico

    ping cdn.jsdelivr.net

    Pinging jsdelivr3.dak.netdna-cdn.com [108.161.188.124] with 32 bytes of data:

    Reply from 108.161.188.124: bytes=32 time=74ms TTL=55

    Reply from 108.161.188.124: bytes=32 time=46ms TTL=55

    Reply from 108.161.188.124: bytes=32 time=73ms TTL=55

    Reply from 108.161.188.124: bytes=32 time=85ms TTL=55

    >

    Ping statistics for 108.161.188.124:

    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

    Approximate round trip times in milli-seconds:

    Minimum = 46ms, Maximum = 85ms, Average = 69ms

    Thanked by 1jimaek
  • Turkey... Turk Telecom

    ping cdn.jsdelivr.net

    knight-nl.jsdelivr.net [194.103.16.38] yoklanıyor32 bayt veri ile:

    194.103.16.38 cevabı: bayt=32 süre=99ms TTL=52

    194.103.16.38 cevabı: bayt=32 süre=95ms TTL=52

    194.103.16.38 cevabı: bayt=32 süre=97ms TTL=52

    194.103.16.38 cevabı: bayt=32 süre=98ms TTL=52

    194.103.16.38 için Ping istatistiği:

    Paket: Giden = 4, Gelen = 4, Kaybolan = 0 (%0 kayıp),

    Mili saniye türünden yaklaşık tur süreleri:

    En Az = 95ms, En Çok = 99ms, Ortalama = 97ms

  • From Helsinki, Finland:

    ping -c 10 cdn.jsdelivr.net
    PING jsdelivr3.dak.netdna-cdn.com (108.161.188.124): 56 data bytes
    64 bytes from 108.161.188.124: icmp_seq=0 ttl=46 time=34.830 ms
    64 bytes from 108.161.188.124: icmp_seq=1 ttl=46 time=34.622 ms
    64 bytes from 108.161.188.124: icmp_seq=2 ttl=46 time=34.650 ms
    64 bytes from 108.161.188.124: icmp_seq=3 ttl=46 time=34.973 ms
    64 bytes from 108.161.188.124: icmp_seq=4 ttl=46 time=34.813 ms
    64 bytes from 108.161.188.124: icmp_seq=5 ttl=46 time=34.861 ms
    64 bytes from 108.161.188.124: icmp_seq=6 ttl=46 time=34.773 ms
    64 bytes from 108.161.188.124: icmp_seq=7 ttl=46 time=34.865 ms
    64 bytes from 108.161.188.124: icmp_seq=8 ttl=46 time=34.656 ms
    64 bytes from 108.161.188.124: icmp_seq=9 ttl=46 time=34.666 ms
    
    --- jsdelivr3.dak.netdna-cdn.com ping statistics ---
    10 packets transmitted, 10 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 34.622/34.771/34.973/0.111 ms
  • jimaekjimaek Veteran
    edited December 2013

    New algorithm is online. It should be a lot smarter. Feel free to ping and wget http://cdn.jsdelivr.net/jquery/2.0.3/jquery.min.js

    All data helps a lot!

  • From Helsinki, Finland:

    ping -c 10 cdn.jsdelivr.net
    PING jsdelivr3.dak.netdna-cdn.com (198.232.126.132) 56(84) bytes of data.
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=1 ttl=52 time=36.0 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=2 ttl=52 time=32.5 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=3 ttl=52 time=32.4 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=4 ttl=52 time=35.9 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=5 ttl=52 time=33.1 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=6 ttl=52 time=35.9 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=7 ttl=52 time=36.7 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=8 ttl=52 time=35.9 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=9 ttl=52 time=35.9 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=10 ttl=52 time=32.3 ms
    
    --- jsdelivr3.dak.netdna-cdn.com ping statistics ---
    10 packets transmitted, 10 received, 0% packet loss, time 9084ms
    rtt min/avg/max/mdev = 32.399/34.716/36.754/1.737 ms
    
    wget -O /dev/null http://cdn.jsdelivr.net/jquery/2.0.3/jquery.min.js
    --2013-12-21 01:25:42--  http://cdn.jsdelivr.net/jquery/2.0.3/jquery.min.js
    Resolving cdn.jsdelivr.net... 198.232.126.132
    Connecting to cdn.jsdelivr.net|198.232.126.132|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 119818 (117K) [application/x-javascript]
    Saving to: â/dev/nullâ
    
    100%[=======================================================================================>] 119,818     --.-K/s   in 0.1s
    
    2013-12-21 01:25:42 (1.11 MB/s) - â/dev/nullâ
    
    
    Thanked by 1jimaek
  • @drazilox Looks good, thank you!

  • lukesUbuntulukesUbuntu Member
    edited December 2013

    From New Zealand

    Lord of the rings location / land down under Aotearoa :) aka why we get bad speeds

    root@ubuntu-server2:~# ping cdn.jsdelivr.net PING 531151672.r.worldcdn.net (103.29.84.13) 56(84) bytes of data. 64 bytes from host13.servermule.com.au (103.29.84.13): icmp_seq=1 ttl=54 time=392 ms 64 bytes from host13.servermule.com.au (103.29.84.13): icmp_seq=2 ttl=54 time=421 ms 64 bytes from host13.servermule.com.au (103.29.84.13): icmp_seq=3 ttl=54 time=483 ms 64 bytes from host13.servermule.com.au (103.29.84.13): icmp_seq=4 ttl=54 time=393 ms 64 bytes from host13.servermule.com.au (103.29.84.13): icmp_seq=5 ttl=54 time=212 ms ^C --- 531151672.r.worldcdn.net ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 3999ms rtt min/avg/max/mdev = 212.888/380.528/483.007/90.055 ms

  • From Jakarta, Indonesia.

    F:\>ping cdn.jsdelivr.net
    
    Pinging jsdelivr3.dak.netdna-cdn.com [198.232.126.132] with 32 bytes of data:
    Reply from 198.232.126.132: bytes=32 time=248ms TTL=50
    Reply from 198.232.126.132: bytes=32 time=268ms TTL=50
    Reply from 198.232.126.132: bytes=32 time=269ms TTL=50
    Reply from 198.232.126.132: bytes=32 time=449ms TTL=50
    
    Ping statistics for 198.232.126.132:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 248ms, Maximum = 449ms, Average = 308ms
    
  • @vRozenSch00n @lukesUbuntu Can you both ping this hostname too? 2-01-2cd3-000b.cdx.cedexis.net

    It has a small fix.

    Thanked by 1lukesUbuntu
  • Here you go:

    G:\>ping 2-01-2cd3-000b.cdx.cedexis.net
    
    Pinging jsdelivr3.dak.netdna-cdn.com [198.232.126.132] with 32 bytes of data:
    Reply from 198.232.126.132: bytes=32 time=264ms TTL=48
    Reply from 198.232.126.132: bytes=32 time=266ms TTL=48
    Reply from 198.232.126.132: bytes=32 time=272ms TTL=48
    Reply from 198.232.126.132: bytes=32 time=386ms TTL=48
    
    Ping statistics for 198.232.126.132:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 264ms, Maximum = 386ms, Average = 297ms
    
  • Manila:

    PING exvm-sg.jsdelivr.net (103.11.143.90) 56(84) bytes of data.
    64 bytes from exvm-sg.jsdelivr.net (103.11.143.90): icmp_req=1 ttl=52 time=209 ms
    64 bytes from exvm-sg.jsdelivr.net (103.11.143.90): icmp_req=2 ttl=52 time=209 ms
    64 bytes from exvm-sg.jsdelivr.net (103.11.143.90): icmp_req=3 ttl=52 time=210 ms
    64 bytes from exvm-sg.jsdelivr.net (103.11.143.90): icmp_req=4 ttl=52 time=210 ms
    64 bytes from exvm-sg.jsdelivr.net (103.11.143.90): icmp_req=5 ttl=52 time=213 ms
    64 bytes from exvm-sg.jsdelivr.net (103.11.143.90): icmp_req=6 ttl=52 time=213 ms
    64 bytes from exvm-sg.jsdelivr.net (103.11.143.90): icmp_req=7 ttl=52 time=209 ms
    ^C
    --- exvm-sg.jsdelivr.net ping statistics ---
    8 packets transmitted, 7 received, 12% packet loss, time 12992ms
    rtt min/avg/max/mdev = 209.416/210.994/213.394/1.562 ms
    
  • TarZZ92TarZZ92 Member
    edited December 2013

    From UK, Virgin Media (HFC)

    C:\Users\Administrator>ping cdn.jsdelivr.net
    
    Pinging 531151672.r.worldcdn.net [185.2.138.117] with 32 bytes of data:
    Reply from 185.2.138.117: bytes=32 time=24ms TTL=57
    Reply from 185.2.138.117: bytes=32 time=16ms TTL=57
    Reply from 185.2.138.117: bytes=32 time=17ms TTL=57
    Reply from 185.2.138.117: bytes=32 time=19ms TTL=57
    
    Ping statistics for 185.2.138.117:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 16ms, Maximum = 24ms, Average = 19ms

    & T-Mobile UK DC-HSDPA

    ping cdn.jsdelivr.net
    
    Pinging 531151672.r.worldcdn.net [185.2.138.117] with 32 bytes of data:
    Reply from 185.2.138.117: bytes=32 time=55ms TTL=53
    Reply from 185.2.138.117: bytes=32 time=56ms TTL=53
    Reply from 185.2.138.117: bytes=32 time=49ms TTL=53
    Reply from 185.2.138.117: bytes=32 time=56ms TTL=53
    
    Ping statistics for 185.2.138.117:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 49ms, Maximum = 56ms, Average = 54ms
  • From New Zealand

    @lukesUbuntu Can you both ping this hostname too? 2-01-2cd3-000b.cdx.cedexis.net

    It has a small fix.

    root@ubuntu-server2:~# ping 2-01-2cd3-000b.cdx.cedexis.net PING 531151672.r.worldcdn.net (103.29.84.13) 56(84) bytes of data. 64 bytes from host13.servermule.com.au (103.29.84.13): icmp_seq=1 ttl=54 time=59.4 ms 64 bytes from host13.servermule.com.au (103.29.84.13): icmp_seq=2 ttl=54 time=67.8 ms 64 bytes from host13.servermule.com.au (103.29.84.13): icmp_seq=3 ttl=54 time=66.7 ms 64 bytes from host13.servermule.com.au (103.29.84.13): icmp_seq=4 ttl=54 time=65.7 ms ^C --- 531151672.r.worldcdn.net ping statistics --- 5 packets transmitted, 4 received, 20% packet loss, time 4004ms rtt min/avg/max/mdev = 59.493/64.951/67.843/3.248 ms

    @jimaek much better

    Thanked by 1jimaek
  • SilvengaSilvenga Member
    edited December 2013

    68.7.169.240 - California - 198.232.126.132

    Pinging jsdelivr3.dak.netdna-cdn.com [198.232.126.132] with 32 bytes of data:
    Reply from 198.232.126.132: bytes=32 time=25ms TTL=54
    Reply from 198.232.126.132: bytes=32 time=60ms TTL=54
    Reply from 198.232.126.132: bytes=32 time=49ms TTL=54
    Reply from 198.232.126.132: bytes=32 time=32ms TTL=54
    
    Ping statistics for 198.232.126.132:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 25ms, Maximum = 60ms, Average = 41ms
    

    198.23.249.143 - Texas - 198.232.126.132

    PING jsdelivr3.dak.netdna-cdn.com (198.232.126.132) 56(84) bytes of data.
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=1 ttl=59 time=1.44 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=2 ttl=59 time=1.27 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=3 ttl=59 time=1.62 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=4 ttl=59 time=1.17 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=5 ttl=59 time=1.27 ms
    --- jsdelivr3.dak.netdna-cdn.com ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4004ms
    rtt min/avg/max/mdev = 1.178/1.358/1.629/0.159 ms
    

    198.27.121.201 - Montreal, Canada - 185.2.138.117

    PING 531151672.r.worldcdn.net (185.2.138.117) 56(84) bytes of data.
    64 bytes from b9028a75.lon.100tb.com (185.2.138.117): icmp_req=1 ttl=50 time=94.7 ms
    64 bytes from b9028a75.lon.100tb.com (185.2.138.117): icmp_req=2 ttl=50 time=93.4 ms
    64 bytes from b9028a75.lon.100tb.com (185.2.138.117): icmp_req=3 ttl=50 time=93.4 ms
    64 bytes from b9028a75.lon.100tb.com (185.2.138.117): icmp_req=4 ttl=50 time=93.3 ms
    64 bytes from b9028a75.lon.100tb.com (185.2.138.117): icmp_req=5 ttl=50 time=93.4 ms
    --- 531151672.r.worldcdn.net ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4004ms
    rtt min/avg/max/mdev = 93.380/93.674/94.754/0.635 ms
    

    69.27.21.152 - Utah - 198.232.126.132

    PING jsdelivr3.dak.netdna-cdn.com (198.232.126.132) 56(84) bytes of data.
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=1 ttl=55 time=20.4 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=2 ttl=55 time=20.0 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=3 ttl=55 time=20.0 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=4 ttl=55 time=20.0 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=5 ttl=55 time=20.0 ms
    --- jsdelivr3.dak.netdna-cdn.com ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4005ms
    rtt min/avg/max/mdev = 20.017/20.110/20.462/0.197 ms
    
    Thanked by 1jimaek
  • Thank you all guys. Btw if anyone is interested what is going on here, you can read here more about how jsDelivr works http://blog.maxcdn.com/load-balancing-multiple-cdns-jsdelivr-works/

    Thanked by 1lukesUbuntu
  • Kiev, Ukraine home internet
    64 bytes from 176.107.177.101: seq=0 ttl=61 time=1.532 ms
    Kiev, Ukraine home internet2
    Ответ от 198.232.126.132: число байт=32 время=54мс TTL=54
    Vinnitsa, Ukraine hyperhosting
    64 bytes from leap-ua.jsdelivr.net (176.107.177.101): icmp_seq=1 ttl=59 time=9.95 ms
    Kharkov, Ukraine onehostpower
    64 bytes from leap-ua.jsdelivr.net (176.107.177.101): icmp_req=2 ttl=59 time=8.91 ms
    Kharkov, Ukraine vdsinside
    64 bytes from b9028a75.lon.100tb.com (185.2.138.117): icmp_req=1 ttl=59 time=50.6 ms

    Thanked by 1jimaek
  • @Strikerr Thanks. I think some times it selects a slower provider because there is not enough data. I am working to fix this. You can help btw https://github.com/jsdelivr/jsdelivr#performance-data-contribution

  • jsDelivr now has a new provider. CloudFlare joined our sponsors. If you guy have some time can you do some tests again? I am optimizing the algorithm as always.

    Also some cool graphs:

  • From Helsinki, Finland.

    $ ping -c 10 cdn.jsdelivr.net
    PING jsdelivr3.dak.netdna-cdn.com (198.232.126.132) 56(84) bytes of data.
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=1 ttl=52 time=36.0 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=2 ttl=52 time=32.4 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=3 ttl=52 time=36.3 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=4 ttl=52 time=32.6 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=5 ttl=52 time=32.6 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=6 ttl=52 time=36.6 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=7 ttl=52 time=32.5 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=8 ttl=52 time=32.4 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=9 ttl=52 time=33.1 ms
    64 bytes from 132-126-232-198.static.unitasglobal.net (198.232.126.132): icmp_req=10 ttl=52 time=32.4 ms
    
    --- jsdelivr3.dak.netdna-cdn.com ping statistics ---
    10 packets transmitted, 10 received, 0% packet loss, time 9105ms
    rtt min/avg/max/mdev = 32.425/33.737/36.626/1.717 ms
    
    $ wget -O /dev/null http://cdn.jsdelivr.net/jquery/2.0.3/jquery.min.js
    --2014-02-28 16:21:10--  http://cdn.jsdelivr.net/jquery/2.0.3/jquery.min.js
    Resolving cdn.jsdelivr.net (cdn.jsdelivr.net)... 198.232.126.132
    Connecting to cdn.jsdelivr.net (cdn.jsdelivr.net)|198.232.126.132|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 83612 (82K) [application/javascript]
    Saving to: `/dev/null'
    
    100%[===================================================================================================================>] 83,612      --.-K/s   in 0.07s
    
    2014-02-28 16:21:10 (1.07 MB/s) - `/dev/null' saved [83612/83612]
    
    Thanked by 1jimaek
  • FlorisFloris Member
    edited February 2014

    From the Den Haag, The Netherlands:

    Pingen naar jsdelivr3.dak.netdna-cdn.com [198.232.126.132] met 32 bytes aan gege
    vens:
    Antwoord van 198.232.126.132: bytes=32 tijd=21 ms TTL=56
    Antwoord van 198.232.126.132: bytes=32 tijd=21 ms TTL=56
    Antwoord van 198.232.126.132: bytes=32 tijd=24 ms TTL=56
    Antwoord van 198.232.126.132: bytes=32 tijd=19 ms TTL=56
    
    Ping-statistieken voor 198.232.126.132:
        Pakketten: verzonden = 4, ontvangen = 4, verloren = 0
        (0% verlies).
    
    De gemiddelde tijd voor het uitvoeren van één bewerking in milliseconden:
        Minimum = 19ms, Maximum = 24ms, Gemiddelde = 21ms
    

    From Montréal, Canada (OVH Datacenter):

    XXXX@XXXX:~$ ping cdn.jsdelivr.net

    PING cdn.jsdelivr.net.cdn.cloudflare.net (190.93.247.228) 56(84) bytes of data.

    64 bytes from 190.93.247.228: icmp_req=1 ttl=58 time=18.0 ms

    64 bytes from 190.93.247.228: icmp_req=2 ttl=58 time=17.7 ms

    64 bytes from 190.93.247.228: icmp_req=3 ttl=58 time=17.9 ms

    64 bytes from 190.93.247.228: icmp_req=4 ttl=58 time=17.9 ms

    64 bytes from 190.93.247.228: icmp_req=5 ttl=58 time=18.1 ms

    64 bytes from 190.93.247.228: icmp_req=6 ttl=58 time=18.0 ms

    64 bytes from 190.93.247.228: icmp_req=7 ttl=58 time=17.8 ms

    64 bytes from 190.93.247.228: icmp_req=8 ttl=58 time=17.7 ms

    64 bytes from 190.93.247.228: icmp_req=9 ttl=58 time=17.8 ms

    64 bytes from 190.93.247.228: icmp_req=10 ttl=58 time=17.8 ms

    64 bytes from 190.93.247.228: icmp_req=11 ttl=58 time=17.9 ms

    64 bytes from 190.93.247.228: icmp_req=12 ttl=58 time=17.8 ms

    64 bytes from 190.93.247.228: icmp_req=13 ttl=58 time=18.0 ms

    64 bytes from 190.93.247.228: icmp_req=14 ttl=58 time=17.8 ms

    64 bytes from 190.93.247.228: icmp_req=15 ttl=58 time=18.1 ms

    --- cdn.jsdelivr.net.cdn.cloudflare.net ping statistics ---
    15 packets transmitted, 15 received, 0% packet loss, time 70927ms
    rtt min/avg/max/mdev = 17.782/17.951/18.194/0.167 ms
    
    Thanked by 1jimaek
Sign In or Register to comment.