Cross-platform, C implementation of the IETF QUIC protocol, exposed to C, C++, C# and Rust.
Перейти к файлу
Thad House b529c67796
Switch to 43 packet receive batch size (#1354)
For throughput tests, 43 is a magic number. Its 64,500 bytes, which is the largest UDP datagram able to be sent with a 1500 MTU. With a smaller batch size, we're not going to receive a full server send in 1 go, causing us to get behind. With a larger batch size, we can potentially grab a packet out of the next datagram send, causing send and receives to get out of sync with datagram boundaries. At 43, we pretty much run in lockstep, which results in the best performance

RPS should not be affected, we're not increasing the value enough to cause over allocations. Also, each packet is its own allocation, so underused packets are just used again without freeing and reallocating
2021-03-23 12:55:16 -07:00
.azure Expand certificate testing (#1324) 2021-03-16 20:55:37 -07:00
.github Update lttng to 2.12 (#1344) 2021-03-17 15:43:05 -07:00
cmake Fix incremental issues in CMake build so rebuilds don't consistently happen (#1169) 2021-01-19 09:24:49 -08:00
docs add notes for macOS (#1348) 2021-03-18 17:28:07 -07:00
scripts Make WAN Perf Previous Results Failure Resilient (#1363) 2021-03-22 11:42:14 -07:00
src Switch to 43 packet receive batch size (#1354) 2021-03-23 12:55:16 -07:00
submodules Fix quictls submodule commit hash (#1343) 2021-03-17 15:16:05 -07:00
.dockerignore Change clog to use a published nuget package (#612) 2020-07-21 12:30:43 -07:00
.gitattributes Fix jpg image file 2021-01-17 09:02:54 -08:00
.gitignore Add multi system test platform infrastructure (#573) 2020-07-09 10:30:02 -07:00
.gitmodules Update Submodules (#1326) 2021-03-11 10:47:03 -08:00
CMakeLists.txt Fix TLS Secrets Support Flag (#1342) 2021-03-17 12:27:02 -07:00
Dockerfile Add SSLKEYLOGFILE support to quicinterop client (#1020) 2020-11-12 13:28:14 -08:00
LICENSE Normalize Line Endings (#384) 2020-05-12 19:08:05 -07:00
README.md Change Perf Dashboard to Sheild 2021-02-26 10:36:18 -08:00
THIRD-PARTY-NOTICES Add third party notices license, add that license to distribution (#1162) 2021-01-15 12:53:25 -08:00
msquic.kernel.sln Rename quicperf driver to quicperfdrv, add private instance (#1154) 2021-01-12 10:37:17 -08:00

README.md

MsQuic

MsQuic is a Microsoft implementation of the IETF QUIC protocol. It is cross platform, written in C and designed to be a general purpose QUIC library.

Important The QUIC protocol is not an official RFC yet. It has been approved by the IESG and now is in the RFC editor queue (final step).

IETF Drafts: Transport, TLS, Recovery, Datagram, Load Balancing, Version Negotiation

Build Status Test Status Perf Dashboard Code Coverage CodeQL Language grade: C/C++

Protocol Features

QUIC has many benefits when compared to existing "TLS over TCP" scenarios:

  • All packets are encrypted and handshake is authenticated with TLS 1.3.
  • Parallel streams of (reliable and unreliable) application data.
  • Exchange application data in the first round trip (0-RTT).
  • Improved congestion control and loss recovery.
  • Survives a change in the clients IP address or port.
  • Stateless load balancing.
  • Easily extendable for new features and extensions.

Library Features

MsQuic has several features that differentiates it from other QUIC implementations:

  • Optimized for client and server.
  • Optimized for maximal throughput and minimal latency.
  • Asynchronous IO.
  • Receive side scaling (RSS) support.
  • UDP send and receive coalescing support.

Documentation

Contributing

For information on contributing, please see our contribution guidlines.