msquic/README.md

48 строки
3.8 KiB
Markdown

MsQuic
======
MsQuic is a Microsoft implementation of the [IETF QUIC](https://datatracker.ietf.org/wg/quic/about/)
protocol. It is cross-platform, written in C and designed to be a general purpose QUIC library.
[![Perf Dashboard](https://img.shields.io/static/v1?label=Performance&message=Dashboard&color=blue)](https://microsoft.github.io/msquic/) [![Test Status](https://img.shields.io/azure-devops/tests/ms/msquic/347/main)](https://dev.azure.com/ms/msquic/_build/latest?definitionId=347&branchName=main) [![Code Coverage](https://img.shields.io/azure-devops/coverage/ms/msquic/347/main)](https://dev.azure.com/ms/msquic/_build/latest?definitionId=347&branchName=main) ![CodeQL](https://github.com/microsoft/msquic/workflows/CodeQL/badge.svg?branch=main) [![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/microsoft/msquic.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/microsoft/msquic/context:cpp) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/4846/badge)](https://bestpractices.coreinfrastructure.org/projects/4846) [![Discord](https://img.shields.io/discord/827744285595271168?label=Discord&logo=discord&logoColor=white&color=7289DA)](https://discord.gg/YGAtCwTSsc)
## Protocol Features
**RFC**: [9000](https://datatracker.ietf.org/doc/html/rfc9000), [9001](https://datatracker.ietf.org/doc/html/rfc9001), [9002](https://datatracker.ietf.org/doc/html/rfc9002) **Draft**: [Datagram](https://tools.ietf.org/html/draft-ietf-quic-datagram), [Version Negotiation](https://tools.ietf.org/html/draft-ietf-quic-version-negotiation), [Load Balancing](https://tools.ietf.org/html/draft-ietf-quic-load-balancers), [ACK Frequency](https://tools.ietf.org/html/draft-ietf-quic-ack-frequency), [Perf Testing](https://datatracker.ietf.org/doc/html/draft-banks-quic-performance)
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](https://docs.microsoft.com/en-us/windows-hardware/drivers/network/introduction-to-receive-side-scaling)) support.
* UDP send and receive coalescing support.
# Documentation
* For platform support details, see the [Platforms docs](./docs/Platforms.md).
* For release details, see the [Release docs](./docs/Release.md).
* For performance data, see the [Performance dashboard](https://aka.ms/msquicperformance).
* For building the library, see the [Build docs](./docs/BUILD.md).
* For testing the library, see the [Testing docs](./docs/TEST.md).
* For using the API, see the [API docs](./docs/API.md) or the [Sample](./src/tools/sample/sample.c).
* For deploying QUIC, see the [Deployment docs](./docs/Deployment.md).
* For diagnosing issues, see the [Diagnostics docs](./docs/Diagnostics.md) and the [Trouble Shooting Guide](./docs/TSG.md).
* For other frequently asked questions, see the [FAQs](./docs/FAQ.md).
# Contributing
For information on contributing, please see our [contribution guidlines](./.github/CONTRIBUTING.md). Feel free to take a look at our [Good First Issues](https://github.com/microsoft/msquic/labels/good%20first%20issue) list if you're looking for somewhere to start. If you'd just like to talk, come chat with us [on Discord](https://discord.gg/YGAtCwTSsc).