internetarchive / internetarchive/openlibrary
Performance: Borrowing Bloat
Open
Lead: @mekarpeles
Module: Borrowing / Lending
Needs: Staff / Internal
Priority: 2
Theme: Performance
Type: Bug
Type: Epic
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 138
Description
When we perform a borrow, we're making 6 network requests when we could likely be performing 1 and reduce the borrow time by ~75%
⚠ @jimchamp this should also prioritize decoupling/sunsetting ACS from Open Library
### Evidence / Screenshot (if possible)

### Related files
https://github.com/internetarchive/openlibrary/blob/master/openlibrary/plugins/upstream/borrow.py#L105-L214
### Stakeholders
Contributor guide
Assessment
This issue has not been assessed yet.