Skip to content

Reduce redundant sync requests - #145

Merged
D-VR merged 1 commit into
masterfrom
reduce-redundant-sync-requests
Jun 23, 2026
Merged

D-VR merged 1 commit into
masterfrom
reduce-redundant-sync-requests

Conversation

@D-VR

@D-VR D-VR commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Reduces redundant Moodle sync requests by avoiding unnecessary assignment/folder API calls, skipping most direct-file HEAD requests when Moodle already provides file metadata, reusing fetched page HTML for link scanning, and caching successful Opencast lookups during a sync run.

Doing a full sync run from the current master vs this branch, reduced sync time from 293.82s to 217.42s (-26.00%) and total requests dropped from 2684 to 1749 (-34.84%). Final sync trees were the same.

@D-VR D-VR added maintenance Chore or refactor performance Something which improves the performance of syncMyMoodle labels Jun 23, 2026
@D-VR
D-VR merged commit 4c43583 into master Jun 23, 2026
4 checks passed
@D-VR
D-VR deleted the reduce-redundant-sync-requests branch June 23, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Chore or refactor performance Something which improves the performance of syncMyMoodle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant