Pulp List Domain Endpoint is slow
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- api, backend, performance
Research direction
Start at the Pulp list-domains endpoint and reproduce the staging profile described in the issue. Inspect the serializer data path, database cursor execution, and field decryption identified by the profile. Done should address the reported runtime hotspots and confirm the endpoint remains correct by comparing profiling results.
Written by the indexing model from the issue text.
Description
CProfile List Domains Endpoint
In looking at the list domains endpoint, there are 60ish domains in the system, but the list is set to limit to 25.
Here are 3 of the main areas where time is spent that I can see:
40.51% serializers:793:data <---- This is the serializing the individual fields and the entire request
5.55% cursor:80:execute <---- This is the actual DB cursor wait time. If you consider the calls above as necessary overhead to get here it's more like 8%. Note (and interestingly) this is not a subcomponent of the serializer time above
34.67% fields:136:decrypt <---- This is just the time spent decrypting the fields!
Dennis and I put this analysis together based on data he collected against our staging environment.
- Dominant language
- Python
- Stars
- 598
- Forks
- 168
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 86
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.
More from pulp/pulpcore
-
Issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Feature
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Feature
-
upgrading to 3.117.1 fails without saying which Distribution base_paths are violating constraint OpenIssue
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Issue Triage-Needed
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100