Skip to content

Dynamic authorized entry cache #4498

@azdagron

Description

Current SPIRE authorized entry cache is a immutable data structure that is rebuilt from the database very frequently. The rebuild of this cache causes very large database load and impedes responsiveness to event and agent registration (e.g. changes are not noticed until the cache is rebuilt). #2182 has been open for some time to come up with a better plan.

Work has been underway to to replace the authorized entry cache system with one that is dynamically adjustable based on events from the datastore. The work is currently behind a feature flag.

This issue documents the work done, and the work remaining and supersedes #2182 as a concrete plan of action.

Here are the pieces of work needed to complete the feature:

Metadata

Assignees

Labels

priority/backlogIssue is approved and in the backlog

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions