Skip to content

Add APIKey performance optimizations #37

@nathanclevenger

Description

@nathanclevenger

We should add the user info for an APIkey to in-memory dictionary ... the use of APIkeys significantly and dramatically lowers performance ... we maybe need to reconsider a JWT-based approach for M2M tokens using an accountId and Secret ... either for user-specific signing or maybe we could create an endpoint where a JWT could be created with userId & secret.

The fact that we seem to be adding 50-250ms on the initial request and 10-40ms for additional requests with API keys is too much ...

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