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:07] Eric Leu [Verify QUIC is working] |
quic_makes_quicker [2017/08/14 20:13] Eric Leu [Measure the latency] |
||
---|---|---|---|
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 | 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 | 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 | QUIC 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 | ||
Line 22: | Line 22: | ||
====Measure the latency==== | ====Measure the latency==== | ||
* Use ping command \\ {{:ping_latency.png?500|}} | * Use ping command \\ {{:ping_latency.png?500|}} | ||
- | 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).\\ 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|}} |
- | 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|}} | + | |
* 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?500|}} | ||
* Or just restart all browsers every time | * Or just restart all browsers every time | ||
Line 36: | Line 35: | ||
Scenario 2: Normal high Latency(80ms) When latency is normal, QUIC reduces **Load** time by almost **37%**.\\ {{:nj-latency.png?500|}} | Scenario 2: Normal high Latency(80ms) When latency is normal, QUIC reduces **Load** time by almost **37%**.\\ {{:nj-latency.png?500|}} | ||
- | Test Environment | + | ====Test Environment==== |
* Server under test: CentOS7 + LiteSpeed Enterprise 5.2 + LSCache + WordPress | * Server under test: CentOS7 + LiteSpeed Enterprise 5.2 + LSCache + WordPress | ||
* Server Location: Senario1-LAN, Senario2-Cloud | * Server Location: Senario1-LAN, Senario2-Cloud |