Re:Azure Database for MySQL and PostgreSQL
by kamathsun on Wednesday May 10, 2017 @08:51PM
(#14313097)
The application should have logic to re-try connections. When you scale, there is a brief moment ~30-45seconds when the app wont be able to connect to the database and then resumes if you re-try connection.
/I work at Microsoft on the managed PostgreSQL service/
[ Parent
| on HN ]
Re:Azure Database for MySQL and PostgreSQL
by martinknafve on Thursday May 11, 2017 @12:52AM
(#14313900)
How do you accomplish no application downtime if for 45 seconds you can't connect to the database?
In background processes you might get away with retrying connections for a minute but most users will probably consider your site broken if page load time is 45 seconds.