nextcloud / nextcloud/contacts

Unable to load large address books due to amount of data transfer

Open
#2,896 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: contacts performance
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
  1. Import 50k contacts
  2. Open the app
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.