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

Poor performance of ADI #2551

Open
iamleeg opened this issue Feb 24, 2022 · 1 comment
Open

Poor performance of ADI #2551

iamleeg opened this issue Feb 24, 2022 · 1 comment

Comments

@iamleeg
Copy link
Contributor

iamleeg commented Feb 24, 2022

Automated data ingestion is around an order of magnitude slower than it could be: importing all the US data into mongodb atlas should take ~12h but ingesting takes nearly two weeks. Some rough testing shows that the solution is to not use mongoose in the data-service, but we need to address two things:

  1. reporting validation errors currently done by batchValidate using mongoose's schema validation (probably fixed by updating to mongodb 5)
  2. keeping the confirmationDate and the confirmation event's date in sync is currently done by a mongoose trigger.
@abhidg
Copy link
Contributor

abhidg commented Feb 25, 2022

Related: #2553

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

No branches or pull requests

2 participants