From sgcWebSockets 4.4.3 HTTP/2 protocol is initially supported (it's still on beta) from TsgcWebSocketHTTPServer. Fast HTTP.SYS based server will receive support for HTTP/2 on next versions.
By default, HTTP/2 support is disabled, so you must enable before testing. There is a new property, called HTTP2Options, just set HTTP2Options.Enabled = true to allow HTTP/2 protocol.
Let's do a very simple performance comparison between HTTP 1.1 and HTTP/2 protocols. We will use our ServerChat demo sample and will access to main page. Using Chrome developer tools we will compare how much time takes one protocol against other
THe main document takes 36 ms and finishes in 413 ms.
The main document takes 4 ms and finishes in 257 ms.
HTTP/2!!!
Of course, this is a very basic and non conclusive test, but you can see that using a single connection to download 8 documents (HTTP/2) is much faster than use several connections (HTTP 1.1).
When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.