14
246
Fork
You've already forked pyfedi
75

Avoid fetching community ids, select them in the post query instead #1846

Merged
rimu merged 1 commit from Sh4d0w/pyfedi:perf-feed-community-predicate into main 2026年07月06日 09:47:53 +02:00
Contributor
Copy link

Avoid fetching the community IDs for local and popular feeds, select the communities inside the posts query instead. Significantly faster on large instances.

Avoid fetching the community IDs for local and popular feeds, select the communities inside the posts query instead. Significantly faster on large instances.
Author
Contributor
Copy link

This one made a pretty significant performance impact for us

image

This one made a pretty significant performance impact for us ![image](/attachments/bdddd257-e555-46ee-b759-648c9219143e)
Owner
Copy link

cowabunga!

cowabunga!
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rimu/pyfedi!1846
Reference in a new issue
rimu/pyfedi
No description provided.
Delete branch "Sh4d0w/pyfedi:perf-feed-community-predicate"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?