letsencrypt / letsencrypt/boulder
Use db/multi.go in more places
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 5.8k
- Forks
- 649
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 24
Description
Introduced in #5602, db/multi.go introduces a new abstraction layer called MultiInserter, which is good at turning many consecutive inserts into a single multi-row insert. This is useful for inserting new authorizations and other rows that are inserted in batches. Once it has been proven to be performant, we should expand its use into additional SA methods.
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 db/multi.go and the MultiInserter abstraction introduced in #5602, then inspect the existing SA methods that insert rows in batches. Confirm its performance before identifying additional suitable methods; done means expanding MultiInserter use without regressing insertion behavior or performance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- database
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100