Skip to content

support reuse_port option when creating server #2679

Closed
@hubo1016

Description

Python supports reuse_port socket option when creating server

https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.AbstractEventLoop.create_server

With reuse_port you can start multiple processes binding with the same port, easily creating a load-balanced server. While it is possible to start each process on different port, it can be done much easier with reuse_port option.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions