Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
noli
V2EX  ›  云计算

请问使用 Google Cloud Sql 实际上解决了什么问题?

  •  
  •   noli · May 8, 2017 · 3350 views
    This topic created in 3317 days ago, the information mentioned may be changed or developed.
    看了一下 overview https://cloud.google.com/sql/docs/mysql/high-availability
    内容大概是,如果配置了高可用,那么当 instance 所在区域发生“停止运行”这种极端状况的时候,
    会自动切换到 failover replica。

    就是说,譬如仅仅是你的 db instance 崩溃了,google cloud 提供的 HA 实际上不会发生作用。

    最后结论就是:依然要自己配置例如 HAProxy 来保证,万一有 db instance 出故障的状况

    这个结论正确吗?
    1 replies    2017-05-08 04:38:10 +08:00
    tianzhou
        1
    tianzhou  
    PRO
       May 8, 2017
    你的 db instance 崩溃了,通常是应用本身的问题,比如数据库过载,撞到了 MySQL bug,所以这种情况下 Failover 是解决不了问题的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2843 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 02:47 · PVG 10:47 · LAX 19:47 · JFK 22:47
    ♥ Do have faith in what you're doing.