Skip to content

Improve Fetch Speed for Feed List#650

Merged
binh-dam-ibigroup merged 2 commits into
devfrom
fix-project-list-perf
May 20, 2026
Merged

Improve Fetch Speed for Feed List#650
binh-dam-ibigroup merged 2 commits into
devfrom
fix-project-list-perf

Conversation

@binh-dam-ibigroup
Copy link
Copy Markdown
Contributor

@binh-dam-ibigroup binh-dam-ibigroup commented May 14, 2026

Checklist

  • Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
  • Any modified or new methods or classes have helpful JavaDoc and code is thoroughly commented
  • The description lists all applicable issues this PR seeks to resolve
  • [na] The description lists any configuration setting(s) that differ from the default settings
  • All tests and CI builds passing

Description

(Supersedes #649 for flex)

This PR improves the loading speed of the list of feeds in a project. This is done by adding a filter by feedSourceId to a lookup that inherently applies to a specific feed source.

Testing the JS query in Mongo yields 100x speed improvement when dealing with a large number (~200k) of feed versions.

@binh-dam-ibigroup binh-dam-ibigroup requested a review from br648 May 14, 2026 13:25
@binh-dam-ibigroup binh-dam-ibigroup changed the title test(FeedSourceController): Add feedSourceId to published version. Improve Fetch Speed for Feed List May 14, 2026
Copy link
Copy Markdown
Contributor

@br648 br648 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@josh-willis-arcadis josh-willis-arcadis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea to filter by feedSourceId. LGTM!

@binh-dam-ibigroup binh-dam-ibigroup merged commit 62966a2 into dev May 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants