Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor boosts so that they are stored per-post #12536

Open
julianlam opened this issue Apr 26, 2024 · 0 comments
Open

Refactor boosts so that they are stored per-post #12536

julianlam opened this issue Apr 26, 2024 · 0 comments
Assignees
Milestone

Comments

@julianlam
Copy link
Member

Currently, when an Announce activity is received, a topic event is added to the topic (with the referenced pid in the topic event object)

This makes it slightly harder to determine how many Announces a post has received. You'd have to traverse all of the events of that topic in order to count them.

It would be more performant to save them separately (e.g. pid:<pid>:announces) and dynamically populate them (a la post queue) in the topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant