Skip to content

Running multiple insatnce of daphne? #79

@ghost

Description

How does one run multiple insatnces in daphe, is there some parameter like in gunicorn to set number of workers?

Do I just run multiple isntances, if I want 3 workers:

daphne -b 127.0.0.1 -p 8001 restapi.asgi:channel_layer
daphne -b 127.0.0.1 -p 8001 restapi.asgi:channel_layer
daphne -b 127.0.0.1 -p 8001 restapi.asgi:channel_layer

This seems strange since they all bind to same port?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions