Skip to content

Time spent on RSA validation for already valid cache #1019

@ties

Description

@ties

Hi,

A few weekends ago I was playing with profiling and I took a look at routinator to validate a hypothesis about where RPs spend most of their time. I was told that sha256 hashing of the files on manifest was the expensive operation.

Instead, when I run ./target/release/routinator vrps --noupdate -o /dev/null I see a significant amount of time being spent on public key verification (~24% of time).

I expected this to be an operation that would be cached in the store. Can you take a look at this?

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