Re:Why PostgreSQL High Availability Matters and How to Achie...
by hot_gril on Wednesday June 14, 2023 @01:48PM
(#36329668)
I've built my own little pile of evidence against Spanner using it for several years, after previously being on Postgres. It has good potential but isn't there yet. And if you're making a startup, you're probably a long way from the scale where sharded DBs become necessary.
[ Parent
| on HN ]
Re:Why PostgreSQL High Availability Matters and How to Achie...
by brigadier132 on Wednesday June 14, 2023 @02:11PM
(#36330074)
I hate this tired argument. If I'm building a startup I'm building it with the intention to hit scale. If I can use cockroach or yugabyte and get 90% of the benefits of postgres without significant additional cost I'm going to use it. I've been at multiple startups that have had trouble scaling their database and the cost to switch database technologies when you hit scale is massive. And worst of all, the limitations of the technology always impact product development. I don't care what cool features postgres has if I can't do online schema changes.
So yeah, I'd rather spend a few more hours picking an actual scalable technology now than spend what could be 7 figures and massively impact product development moving to scalable technology..
Re:Why PostgreSQL High Availability Matters and How to Achie...
by tmpz22 on Wednesday June 14, 2023 @03:09PM
(#36330997)
Different teams have different abilities. You can't really make general rules around any of this. Should you use spanner as a default selection for your company's database needs? Maybe.
Re:Why PostgreSQL High Availability Matters and How to Achie...
by audioheavy on Wednesday June 14, 2023 @03:31PM
(#36331327)
both good points, including the devs having different abilities and using a ready-made scalable solution. We're living in the world of having something working that you can test in a few days shrug
Re:Why PostgreSQL High Availability Matters and How to Achie...
by hot_gril on Wednesday June 14, 2023 @07:14PM
(#36334192)
Some general rules make sense for common use cases. Like, I'll say that a relational DBMS is generally what you want rather than a graph one. For a single-node DB, I'll always use Postgres if I have the choice.
But sharding is too use-case specific to prescribe something broadly like Spanner.
Re:Why PostgreSQL High Availability Matters and How to Achie...
by hot_gril on Wednesday June 14, 2023 @03:21PM
(#36331164)
> If I can use cockroach or yugabyte and get 90% of the benefits of postgres without significant additional cost I'm going to use it
That's a big "if." Idk about those two, but you sacrifice a lot using Spanner. And in the initial phases, you can't tell what your actual needs will be at scale, so you'll probably have to rework things anyway. Just using Spanner doesn't solve your scaling problems.