Skip to content

Lazy app config values may still be loaded on every request #52074

Open
@juliusknorr

Description

@juliusknorr

On setups with LDAP or other cases where getKeys is used the lazy app config is basically ignored and we fetch the full table

$this->loadConfigAll($app);

This may lead to larger amount of data being transferred on every request from the database and being hold in memory for each request:

For the impact, on our instance we have a config value that is 8MB in size which is needed on every request. With 250 concurrent requests this is an additional demand of 2GB for the server.

Image

cc @ArtificialOwl @sorbaugh

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions