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

chore: handle people and attributes separately to improve sync performance #2476

Merged
merged 21 commits into from
Apr 25, 2024

Conversation

mattinannt
Copy link
Member

Draft: not fully implemented, @pandeymangg will take over

What does this PR do?

handle people and attributes separately to improve sync performance
Since we are not always needing the whole person model with all attributes (e.g. for checks if a person exists) it doesn't make sense to query the whole model where we also might not have a cache hit if the attributes were updated.

Copy link

vercel bot commented Apr 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
formbricks-cloud ⬜️ Ignored (Inspect) Visit Preview Apr 25, 2024 4:06pm
formbricks-com ⬜️ Ignored (Inspect) Visit Preview Apr 25, 2024 4:06pm

Copy link
Contributor

github-actions bot commented Apr 18, 2024

Thank you for following the naming conventions for pull request titles! 🙏

@mattinannt mattinannt marked this pull request as draft April 18, 2024 13:52
@mattinannt mattinannt marked this pull request as ready for review April 25, 2024 09:52
Copy link
Member Author

@mattinannt mattinannt left a comment

Choose a reason for hiding this comment

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

@pandeymangg Looks great! :-)
A few suggestion I found while going through the code. Since we are now moving towards Formbricks 2.0 I think it's good if we clean up some things if we notice them :-)

Copy link
Contributor

@pandeymangg pandeymangg left a comment

Choose a reason for hiding this comment

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

LGTM!! 🚀

@mattinannt mattinannt added this pull request to the merge queue Apr 25, 2024
Merged via the queue into main with commit 183d327 Apr 25, 2024
12 checks passed
@mattinannt mattinannt deleted the feature/split-person-model branch April 25, 2024 16:30
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.

None yet

2 participants