Heroku takes care of multiple database servers?

前端 未结 3 1134
夕颜
夕颜 2021-02-04 19:43

When my user base grows, does Heroku take care of setting up multiple database servers for my Rails app or do I have to configure it manually somehow?

In other words, do

3条回答
  •  旧时难觅i
    2021-02-04 20:18

    From the Heroku docs:

    For Rails apps, database connectivity is configured automatically — your app should just work.

    Their shared database plan, Koi, is $15 and offers 20GB of space. Performance shouldn't be much of a worry though it won't always be predictable since other users' actions can have an impact on it. As far as scaling goes, as your website grows and your database along with it, you can upgrade to a new plan or dedicated database server easily. Just make sure you scale your dynos as your traffic grows.

提交回复
热议问题