[openstreetmap/openstreetmap-website] Convert database config to support reading from replicas (#2563)
mmd
notifications at github.com
Sun Mar 22 10:08:36 UTC 2020
>From what I’ve seen the mechanism to decide which connection to use is largely based on the http verb: in particular GET would be directed to the replica database while POST/PUT/... hit the main database. I think this assumes that GET involves no database. I’ve read about some other apps where this isn’t the case and wonder wether we have the same issue. I’m thinking here about things like the user confirmation link we send out to new users, and similar.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2563#issuecomment-602174554
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200322/ff791652/attachment.htm>
More information about the rails-dev
mailing list