Investigate reducing overhead caused by `HrefPrnFieldMixin`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 598
- Forks
- 168
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 86
Description
The overhead of HrefPrnFieldMixin is surprisingly high, being actually significant (10-20%) of the total time required during uploading of RPM packages using the synchronous APIs, and perhaps in other circumstances also.
First noted in a prior PR: https://github.com/pulp/pulpcore/pull/6693#issuecomment-2988710298
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with pulpcore/app/serializers/base.py at lines 66-80 and review the prior discussion in pull request 6693. Profile synchronous RPM package uploads to confirm the 10–20% overhead attributed to HrefPrnFieldMixin and identify where its cost occurs. Done means a measured reduction in overhead with the relevant behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100