HHS / simpler-grants-gov

https://simpler.grants.gov
Other
47 stars 13 forks source link

[ADR]: Persist Data in Prod databases #518

Open SammySteiner opened 1 year ago

SammySteiner commented 1 year ago

Description

For beta.grants.gov to reach feature parity with grants.gov we will need to write to the database. Several approaches to that will need to be considered. The goal is to eventually deprecate the oracle database and migrate to a postgres database with an improved schema to facilitate more robust opportunity querying and opportunity lifecycle tracking. There will be a time before that third database is created that both applications will need to write data that can be read by both applications.

Approvers

Options

Decision Criteria

Definition of Done

widal001 commented 1 year ago

Yay! Thank you for creating an ADR to track this decision. @SammySteiner

One other decision criteria I might add is "technical debt" or something to indicate that we want to pick an option that won't require us to reimplement a bunch of code when we promote beta.grants.gov out of beta and it becomes the primary system.

A third option could be that our web service writes to both beta.grants.gov and grants.gov databases and then we configure DMS to use merge replication on beta.grants.gov tables that support writing (if that's supported)