Skip to content

Investigate using Gunicorn's preload option by default #105

Description

@JayH5

http://docs.gunicorn.org/en/latest/settings.html#preload-app
Load application code before the worker processes are forked. By preloading an application you can save some RAM resources as well as speed up server boot times. Although, if you defer application loading to each worker process, you can reload your application code easily by restarting workers.

This seems desirable. Reloading workers is not common in a containerized/immutable-deployment environment where one would rather just restart the entire container.

We should investigate if there are any side-effects of enabling this setting by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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