Skip to content

Code is extremely slow when talking to vault. #4

@netik

Description

@netik

It takes about 115mS per secret to read from the vault. I suspect this is due to spawning a worker process for each line of the secrets file.

A comparable golang process reads 30 secrets in about 230mS. vault-env takes about 7-10 seconds to do the same thing.

When dealing with a large number of secrets, the performance impact is noticeable, especially when having frequent restarts of the node service during development.

I wanted to make you aware of this, I'll be attempting a fork and patch to correct this problem.

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