Goal
Extend database configuration to support separate connection strings for read and write queries.
Requirements
- Support
DATABASE_WRITE_URL and DATABASE_READ_URL env parameters.
- Direct all read operations (summaries, queries) to the read replica and updates to the write main connection.
- Add connection failover tests.
SSoC26 Contributor Notice:
Since this repository (Memact/Memory) is outside the main Context repository, and the registered project for tracking contributions is specifically Context (Memact/Context), please make sure to create a dummy PR in the Context repository linking to your actual PR or commits in this repository. This is required for your contribution to be correctly tracked and counted.
If you have already created a dummy PR in Memact/Context linking to your work here, please ignore this message!
Goal
Extend database configuration to support separate connection strings for read and write queries.
Requirements
DATABASE_WRITE_URLandDATABASE_READ_URLenv parameters.SSoC26 Contributor Notice:
Since this repository (
Memact/Memory) is outside the mainContextrepository, and the registered project for tracking contributions is specifically Context (Memact/Context), please make sure to create a dummy PR in the Context repository linking to your actual PR or commits in this repository. This is required for your contribution to be correctly tracked and counted.If you have already created a dummy PR in
Memact/Contextlinking to your work here, please ignore this message!