docs/discussion/design_choices.rst
raw| 1 | .. _design_choices: |
| 2 | |
| 3 | Design Choices |
| 4 | ============== |
| 5 | |
| 6 | Callbacks or streaming |
| 7 | ---------------------- |
| 8 | |
| 9 | The asyncio callback ``create_server`` approach is faster than the |
| 10 | streaming ``start_server`` approach, and hence is used. This is based |
| 11 | on benchmarking and the `uvloop |
| 12 | <https://github.com/MagicStack/uvloop>`_ research. |