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

Migrate away from gorm, use pgx to query postgres db #592

Closed
5 tasks
sbchaos opened this issue Sep 13, 2022 · 0 comments · Fixed by #696
Closed
5 tasks

Migrate away from gorm, use pgx to query postgres db #592

sbchaos opened this issue Sep 13, 2022 · 0 comments · Fixed by #696

Comments

@sbchaos
Copy link
Contributor

sbchaos commented Sep 13, 2022

Description
We are using gorm to query the postgres database, in the current implementation we are facing issues related to high memory consumption which can be due to way be use gorm, as well gorm itself as checked through the benchmarks.

Acceptance Criteria

  • Move repositories to use pgx instead of gorm
  • Split the stores in groups similar to bounded context

Depends on : 584

Tech Details
Technical details

  • Create new persistence models to scan data
  • Use explicit queries for the data
  • Split the stores in respective groups
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 a pull request may close this issue.

1 participant