Skip to content

Shift production server off of runserver? #1034

Description

@jonfroehlich

We are currently using runserver on both test and production (see docker-entrypoint.sh). It appears we should not be. In fact, the official docs say:

DO NOT USE THIS SERVER IN A PRODUCTION SETTING. It has not gone through security audits or performance tests. (And that’s how it’s gonna stay. We’re in the business of making web frameworks, not web servers, so improving this server to be able to handle a production environment is outside the scope of Django.)

Others agree.

So, it seems like we need to run with Gunicorn or Apache. See: https://docs.djangoproject.com/en/4.2/howto/deployment/

We want to keep our test and production environments simple and similar but we are running into some major latency issues (#959) that we need to address

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions