Skip to content

Performance concerns #1147

Closed
Closed
@mickaelperrin

Description

@mickaelperrin

As spotted in #1049, the way certificates are created may have performance concerns when the number of certificates to handle is very important.

The fix in #1049 handles certificates in a reverse order, but sadly this doesn't have any impact because the reload of nginx still wait that all certificates are validated even if new certificates are emitted / renewed.

Ideally:

  • the whole validation loop should be triggered only after the DOCKER_GEN_WAIT.
  • when a new event is triggered from a container re/start, only related certificates should be handled.

The main challenge with this idea is to handle multiple simultaneous events, maybe some kind of queue management could help.

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