Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Investigate db sharding implementation #66

Closed
rahearn opened this issue Jan 11, 2022 · 2 comments
Closed

Investigate db sharding implementation #66

rahearn opened this issue Jan 11, 2022 · 2 comments
Assignees

Comments

@rahearn
Copy link
Collaborator

rahearn commented Jan 11, 2022

In case we need to shard the DB, investigate how that can be accomplished with ActiveRecord and Postgres

@rahearn rahearn self-assigned this Jan 11, 2022
@rahearn
Copy link
Collaborator Author

rahearn commented Jan 12, 2022

Did some initial setup investigation: https://github.com/usagov/test-at-home/tree/shard-investigation

Docs available: https://edgeguides.rubyonrails.org/active_record_multiple_databases.html

Looks like something we can implement if needed, but stopped the investigation slightly pre-maturely

@rahearn rahearn closed this as completed Jan 16, 2022
@rahearn
Copy link
Collaborator Author

rahearn commented Jan 16, 2022

Going with many apps each with one db, rather than one app with many dbs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant