Skip to content

Running your app under a wsgi app like uwsgi #11

@SEJeff

Description

@SEJeff

Would it even be feasible to use something like this when you're running a django app under a wsgi container such as uwsgi with multiple processes and then apache/nginx via the native uwsgi module?

This seems great if you're only going to run a single process, but when your application needs to scale due to traffic load (as several of our internal apps do), this model breaks down.

Any advice on setting up this middleware for a use case like that? Also, for shops that have multiple django applications, it might make sense to put some sort of a configurable prefix in the settings to differentiate between different applications. Otherwise, there could be clashes when the same urlconf is defined in two different applications with entirely different code.

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