TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Heroku Postgres vs. Amazon RDS Postgres

9 pointsby dave1619almost 11 years ago
I&#x27;m currently running a Heroku Rails app and our Postgres DB has grown to a data size of 50GB, and our DB cache hit rate is at 93%. We&#x27;re on the legacy Ronin ($200&#x2F;month) plan (1.7GB) and probably need to upgrade but the next upgrade is the 7.5GB plan at ($750&#x2F;plan). But we&#x27;re running this as a bootstrap, so we&#x27;d like to save some money.<p>I notice that Amazon RDS for Postgres is in beta and will likely be a lot cheaper. But I&#x27;m wondering if anybody has any experience using Amazon RDS for Postgres instead of Heroku Postgres.<p>We&#x27;ve got a small team so we don&#x27;t have any resources for DB management, and that&#x27;s why we like Heroku. I&#x27;m wondering if Amazon will also the same convenience and no-maintenance approach as Heroku, and if we&#x27;ll be saving significant amount of money or not.<p>Thanks.

2 comments

pjungwiralmost 11 years ago
I&#x27;ve used Postgres RDS and it was fine. One limitation though is that unlike MySQL RDS, you can&#x27;t (yet?) configure it for streaming replication. You can tick a checkbox to run a &quot;Multi-AZ&quot; deployment with failover, which I assume uses streaming replication behind-the-scenes, but there is no way to access whatever slave instance AWS is running. So you can&#x27;t use slave instances for horizontal scaling, only high availability. I haven&#x27;t looked at Heroku Postgres in a while, so I don&#x27;t remember whether they offer what AWS doesn&#x27;t here. It doesn&#x27;t sound like you&#x27;re anywhere near the point of scaling to a read-only replica though.
评论 #7980600 未加载
tburnsalmost 11 years ago
Back when we first migrated to Postgres, Amazon had not come out with their offering for RDS yet so Heroku was the first place we looked. Unfortunately (at that time), there didn&#x27;t seem to be a way to launch a Heroku PostgreSQL cluster inside of a VPC, so it was off the table for us. I haven&#x27;t looked at it since but would be curious to know if that situation has changed, or if the nature of Heroku&#x27;s infrastructure simply prevents it from being workable.