[openstreetmap/openstreetmap-website] WIP: Use database replicas for read requests (#3201)
Andy Allan
notifications at github.com
Wed Nov 30 16:48:40 UTC 2022
I've rebased this PR and resolved the conflicts today.
The fix that we need in Rails hasn't yet made it into a formal release, but I expect that there to be one (rails 7.1) before the end of 2022. I've [tested the code](https://github.com/gravitystorm/openstreetmap-website/commits/multiple_databases_4_rails_main) with rails `main` and it now works! (Glossing over some unrelated rails-7.1 related breakages).
So we're back to waiting, but at least we know that we can use our read replicas soon. The steps from here are:
* Wait for the next Rails release
* Update this app to work on that release (e.g. wait for composite_primary_keys and [activerecord-import](https://github.com/zdennis/activerecord-import/issues/787) to be updated)
* Rebase this PR
* Should be good to go!
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3201#issuecomment-1332454690
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3201/c1332454690 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221130/db4fe697/attachment-0001.htm>
More information about the rails-dev
mailing list