nextcloud / nextcloud/server

[Bug]: Task sync very slow with a lot of Lists with a lot of Tasks

Open
#45,868 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 28-feedback bug feature: caldav performance 🚀
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

The sync is slow and it causes the Task.org app synced via Davx5 to be very slow and buggy, here is the Issue i created on Tasks.org: https://github.com/tasks/tasks/issues/2856

Steps to reproduce
  1. Have a lot of lists with a lot of tasks
  2. Sync them with Davx5 into the Tasks.org app
Expected behavior

The sync should be fast

Installation method

Community Docker image

Nextcloud Server version

28

Operating system

None

PHP engine version

PHP 8.2

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

I have 21 Lists with 547 open tasks (sum of all lists) and i don't know how much closed ones, i would say 3000+ because i use this app combo since a few years now. It was always fast and i don't know when it became slow but last summer (2023) it was still fast, so it should be sometime in fall - winter 2023.

I don't know what the problem is and i don't know how to find out where the problem is, so any ideas how to find out are highly appreciated.

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

No source file, test, logs, or server component is named. Start by reproducing the DAV sync with 21 lists and roughly 3,000 tasks, then collect the missing Nextcloud logs and configuration details to identify where the slowdown occurs. Done means the sync is measurably faster for this dataset.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend, 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.