[openstreetmap/openstreetmap-website] Use database replicas for read requests (#2634)
Tom Hughes
notifications at github.com
Wed May 27 15:14:55 UTC 2020
Having just reviewed the old ticket I'm a bit confused...
If it automatically switches to using the primary database reads if you have done a recent write what is all the stuff about the HTTP verb deciding which database to use? Surely attempts to read go to the read database (unless you have written recently) and attempts to write go to the write database?
Is the story that each action has to use a single database and the timeout is actually about sending read actions to a write database if there has been a recent write action?
--
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/issues/2634#issuecomment-634730730
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200527/49a05528/attachment.htm>
More information about the rails-dev
mailing list