-
Notifications
You must be signed in to change notification settings - Fork 10
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
Move Case to Postgres #10502
Comments
Since we'll need to test cases thoroughly anyway, we will also try to implement a CaseFactory as part of this ticket. See ustaxcourt#5557. |
We have moved over all of the seed data and have the app "running" locally (imperfectly). The next step is to get the app fully working locally and refactor. After that, it would be good to look at real data and eliminate unnecessary fields to simplify our tables (or include any fields we are missing). |
We have the app working locally after fixing various issues. Current work:
|
A few scattered notes:
|
After some further research, my findings are basically the following: Serverless Postgres, while great for scaling up and down and for not having to worry about dependencies, etc., is not ideal for low-latency CDC. Most tools work better, and often exclusively, with provisioned Aurora. As far as I can tell, out options include:
Because of this, I discussed with Jim, and we are doing an experiment to see how difficult it is to just rewrite our Case open search queries in postgres. If this is not too difficult, we can probably just port most things over. The only thing that needs to be in Open Search, as far as I know, is Docket Entry text. If that's the case, the worries above are basically moot: latency is less of an issue, and we don't need to worry as much about having a highly scalable solution. |
General updates:
This ticket has been, unsurprisingly, complex: the backend is very heavily coupled to DynamoDB. |
branch off: origin/10391-dynamo-migrations-kysely-aurora-rds-tokens (till merged in)
DynamoDB Entities to Replace:
OpenSearch Indexes to Keep:
convert the functions in web-api/src/persistence/dynamo/cases, and web-api/src/persistence/dynamo/caseWorksheet to postgres kysely functions.
DynamoDB Functions to Move (unit tests can be removed):

The text was updated successfully, but these errors were encountered: