index.rst revision 36fcb9aa
1LSQUIC Documentation
2====================
3
4This is the documentation for LSQUIC_ |release|, last updated |today|.
5
6LiteSpeed QUIC (LSQUIC) Library is an open-source implementation of QUIC
7and HTTP/3 functionality for servers and clients.  LSQUIC is:
8
9- fast;
10
11- flexible; and
12
13- production-ready.
14
15Most of the code in this distribution has been  used in our own products
16-- `LiteSpeed Web Server`_, `LiteSpeed Web ADC`_, and OpenLiteSpeed_ --
17since 2017.
18
19Currently supported QUIC versions are Q043, Q046, Q050, ID-27, ID-28,
20and ID-29.
21Support for newer versions will be added soon after they are released.
22
23LSQUIC is licensed under the `MIT License`_; see LICENSE in the source
24distribution for details.
25
26Features
27--------
28
29LSQUIC supports nearly all QUIC and HTTP/3 features, including
30
31- DPLPMTUD
32- ECN
33- Spin bits (allowing network observer to calculate a connection's RTT)
34- Path migration
35- NAT rebinding
36- Push promises
37- TLS Key updates
38- Extensions:
39
40 - Loss bits extension (allowing network observer to locate source of packet loss)
41 - Timestamps extension (allowing for one-way delay calculation, improving performance of some congestion controllers)
42 - Delayed ACKs (this reduces number of ACK frames sent and processed, improving throughput)
43 - QUIC grease bit to reduce ossification opportunities
44
45Architecture
46------------
47
48The LSQUIC library does not use sockets to receive and send packets; that is handled by the user-supplied callbacks.  The library also does not mandate the use of any particular event loop.  Instead, it has functions to help the user schedule events.  (Thus, using an event loop is not even strictly necessary.)  The various callbacks and settings are supplied to the engine constructor.
49LSQUIC keeps QUIC connections in several data structures in order to process them efficiently.  Connections that need processing are kept in two priority queues: one holds connections that are ready to be processed (or "ticked") and the other orders connections by their next timer value.  As a result, no connection is processed needlessly.
50
51.. _LSQUIC: https://github.com/litespeedtech/lsquic
52.. _`MIT License`: http://www.opensource.org/licenses/mit-license.php
53.. _`LiteSpeed Web Server`: https://www.litespeedtech.com/products/litespeed-web-server/
54.. _`LiteSpeed Web ADC`: https://www.litespeedtech.com/products/litespeed-web-adc/
55.. _OpenLiteSpeed: https://openlitespeed.org/
56
57Contents
58--------
59
60.. toctree::
61   :maxdepth: 2
62
63   gettingstarted
64   tutorial
65   apiref
66   internals
67
68Indices and tables
69==================
70
71* :ref:`genindex`
72* :ref:`search`
73