Skip to content

Use JWT signatures for app requests to avoid db load on request-heavy apps #6361

Closed
@deansheather

Description

@deansheather

Issue a signed JWT on the first request with a validity of 60 seconds containing all of the details about the app, agent, workspace, user that are required to serve requests for that app. Store the JWT in a cookie. On subsequent requests, if the cookie is set and is a valid ticket (and matches the values from the URL), send traffic to the workspace without hitting the database.

Metadata

Metadata

Assignees

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