Skip to content

Separate uWSGI per deployment #573

@rifen

Description

@rifen

Ask:
Set nautobots.(name).uWSGIini per nautobot.

Why:
In order to fully utilize GraphQL it could be beneficial to have 1 uWSGI worker process for those specific Nautobot containers. While having multiple workers in other general Nautobot containers along with other reload mechanisms turned off. This could be useful for other optimizations in the future as well.

Try 1:
--set-file nautobot.uWSGIini="uwsgi1.ini"
--set-file nautobots.graphql.uWSGIini="uwsgi2.ini"

Result: All containers grabbed uwsgi1.ini

Try 2:
--set-file nautobots.default.uWSGIini="uwsgi1.ini"
--set-file nautobots.graphql.uWSGIini="uwsgi2.ini"

Result: Both got the default uwsgi.ini file.

Slack thread: https://networktocode.slack.com/archives/C01NWPK6WHL/p1749837580407359?thread_ts=1749834748.446029&cid=C01NWPK6WHL

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