nextcloud / nextcloud/contacts
Unable to load large address books due to amount of data transfer
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 642
- Forks
- 220
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 51
Description
Describe the bug
As a user with a huge address book, or something like https://apps.nextcloud.com/apps/ldap_contacts_backend, the app becomes unusable. That is because the full addressbook is downloaded before anything is displayed. The only remedy in place is that we render visible elements only: https://github.com/nextcloud/contacts/issues/428
Steps to reproduce
- Import 50k contacts
- Open the app
- Wait
Expected behavior
The app loads in reasonable time.
Actual behavior
The app runs into a timeout, no contacts show.
Contact version
4
Operating system
No response
PHP engine version
No response
Web server
No response
Database
No response
Additional info
No response
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
Reproduce the problem with 50k imported contacts and inspect the app's address-book loading path, where the full address book is downloaded before display. Use contacts issue #428 as related context; done means the app loads and shows contacts in reasonable time without timing out.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100