Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
quic_makes_quicker [2017/08/14 20:00] Eric Leu [Verify QUIC is working] |
quic_makes_quicker [2017/08/14 20:10] Eric Leu [Server Settings:] |
||
---|---|---|---|
Line 9: | Line 9: | ||
=====Let’s do a simple experiment===== | =====Let’s do a simple experiment===== | ||
====Server Settings:==== | ====Server Settings:==== | ||
- | LiteSpeed Web Server default QUIC is `on`, require setup non self-signed certificates. More detail requirments please follow **[[https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:enable_quic#requirements | QUIC Requierments]]** | + | * LiteSpeed Web Server default QUIC is ''ON'', require setup non self-signed certificates. More detail requirments please follow **[[https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:enable_quic#requirements | QUIC Requierments]]**. |
- | If you are looking for different QUIC level settings please follow **[[https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:enable_quic#understanding_the_priority_of_the_settings QUIC | Levels Settings]]** | + | * If you are looking for different QUIC level settings please follow **[[https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:enable_quic#understanding_the_priority_of_the_settings QUIC | Levels Settings]]** |
- | If you are using control panels please follow **[[https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:enable_quic#methods_for_enabling_quic | QUIC Setup Method]]** | + | * If you are using control panels please follow **[[https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:enable_quic#methods_for_enabling_quic | QUIC Setup Method]]** |
====Client browser QUIC Supports and Settings: ==== | ====Client browser QUIC Supports and Settings: ==== | ||
- | For Chrome, check ''chrome://flags/#enable-quic'' set to ''Enabled''/''Disabled'' | + | * For Chrome, check chrome://flags/#enable-quic set to ''Enabled''/''Disabled'' |
- | For Opera, check ''opera://flags/#enable-QUIC'' set to ''Enabled''/''Disabled'' | + | * For Opera, check opera://flags/#enable-QUIC set to ''Enabled''/''Disabled'' |
====Verify QUIC is working==== | ====Verify QUIC is working==== | ||
* Install indicator to verify QUIC function, please follow **[[https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:enable_quic#how_to_verify_quic_is_enabled | Verify ]]** | * Install indicator to verify QUIC function, please follow **[[https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:enable_quic#how_to_verify_quic_is_enabled | Verify ]]** | ||
* Or you can use wireshark with filter ''quic'' to verify QUIC is working or not | * Or you can use wireshark with filter ''quic'' to verify QUIC is working or not | ||
* When QUIC disabled or browser not support, you can not capture any packets | * When QUIC disabled or browser not support, you can not capture any packets | ||
- | * When QUIC is working, you will cature packates like this | + | * When QUIC is working, you will cature packates like this \\ {{:quic_wireshark.png?500|}} |
- | {{:quic_wireshark.png?400|}} | + | |
====Measure the latency==== | ====Measure the latency==== | ||
- | * Use ping command | + | * Use ping command \\ {{:ping_latency.png?500|}} |
- | {{:ping_latency.png?400|}} | + | |
Load page testing steps | Load page testing steps | ||
* When testing page speed with QUIC Disabled (TCP). <br> | * When testing page speed with QUIC Disabled (TCP). <br> | ||
- | When you open our blog site, will see an ESTABLISHED connection though cmd `netstat -a -n -p tcp -o | findstr ESTABLISHED | findstr your_server_IP` | + | When you open our blog site, will see an ESTABLISHED connection though cmd \\ <code>netstat -a -n -p tcp -o | findstr ESTABLISHED | findstr your_server_IP </code> \\ {{:netstat.png?500|}} |
- | {{:netstat.png?400|}} | + | * When testing page Load time, make sure connection status has been non-Established every time, you only need to wait around 10-15s. \\ {{:str_empty.png?500|}} |
- | * When testing page Load time, make sure connection status has been non-Established every time, you only need to wait around 10-15s. {{:str_empty.png?400|}} | + | |
* Or just restart all browsers every time | * Or just restart all browsers every time | ||
* When testing page speed with QUIC Enabled (UDP) | * When testing page speed with QUIC Enabled (UDP) | ||
* Make sure QUIC is working by following “Verify QUIC is working” | * Make sure QUIC is working by following “Verify QUIC is working” | ||
* Open browser dev tool through ''Ctrl + Shift + i'', make sure ''Disable cache'' enabled | * Open browser dev tool through ''Ctrl + Shift + i'', make sure ''Disable cache'' enabled | ||
- | * Record **Load** time | + | * Record **Load** time \\ {{:quic-dev.png?500|}} |
- | {{:quic-dev.png?400|}} | + | |
- | Scenario 1: Low Latency(<1ms), QUIC reduces **Load** time by almost 25%. <br> | + | Scenario 1: Low Latency(<1ms), QUIC reduces **Load** time by almost **25%**.\\ {{:low_latency.png?500|}} |
- | {{:low_latency.png?500|}} | + | |
- | Scenario 2: Normal high Latency(80ms) When latency is normal, QUIC reduces `Load` time by almost 37%. <br> | + | Scenario 2: Normal high Latency(80ms) When latency is normal, QUIC reduces **Load** time by almost **37%**.\\ {{:nj-latency.png?500|}} |
- | {{:nj-latency.png?500|}} | + | |
Test Environment | Test Environment |