- Learning Heroku Postgres
- Patrick Espake
- 113字
- 2021-07-23 20:48:35
High availability
The plans of the Premium and Enterprise tier comes with the High Availability feature. This feature involves a cluster database and a management system to increase availability in case of failure.
When the database fails, it is automatically replaced by another. To determine that a failure occurred, Heroku starts a series of checks. This process can take up to 2 minutes. Because of the continuous protection mechanism, Heroku minimizes data loss, usually to 160 MB or 10 minutes, whichever is less.
When the recovery process finishes, new access credentials are generated and the database URL is changed. Finally the Heroku application is restarted with the new access data to the database.
推薦閱讀
- 程序設計與實踐(VB.NET)
- CockroachDB權威指南
- Redis Applied Design Patterns
- Groovy for Domain:specific Languages(Second Edition)
- 64位匯編語言的編程藝術
- Full-Stack Vue.js 2 and Laravel 5
- Java 11 Cookbook
- Oracle從入門到精通(第5版)
- Mobile Device Exploitation Cookbook
- Java程序設計案例教程
- Mastering C++ Multithreading
- 寫給程序員的Python教程
- Mastering Elixir
- Windows Phone 8 Game Development
- Java程序設計教程