lowRISC / lowRISC/opentitan-provisioning
[spm] Improve service performance by caching object UIDs.
Open
- Dominant language
- Go
- Stars
- 16
- Forks
- 13
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 18
Description
The `spm` implementation currently caches object labels and performs UID lookup operations during certain API calls. Caching object UIDs per SKU can help improve performance significantly as the lookup operation may not be optimized for performance.
Contributor guide
Research direction
Start by locating the spm implementation and the existing object-label caching and UID lookup paths. Identify which API calls perform lookups and how SKUs are represented; the work is done when object UIDs are cached per SKU, repeated lookups are avoided, and existing behavior remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100