File: design_choices.rst

package info (click to toggle)
hypercorn 0.17.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 908 kB
  • sloc: python: 7,839; makefile: 24; sh: 6
file content (12 lines) | stat: -rw-r--r-- 319 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
.. _design_choices:

Design Choices
==============

Callbacks or streaming
----------------------

The asyncio callback ``create_server`` approach is faster than the
streaming ``start_server`` approach, and hence is used. This is based
on benchmarking and the `uvloop
<https://github.com/MagicStack/uvloop>`_ research.