Re:A terrible schema from a clueless programmer
by late2part on Sunday November 07, 2021 @10:41AM
(#29140337)
Deleted
[ Parent
| on HN ]
Re:A terrible schema from a clueless programmer
by bigbillheck on Sunday November 07, 2021 @10:47AM
(#29140390)
> compute is cheap
There was a whole thread yesterday about how a dude found out that it isn't: https://briananglin.me/posts/spending-5k-to-learn-how-databa... (also mentioned in the RbtB post)
Re:A terrible schema from a clueless programmer
by rustc on Sunday November 07, 2021 @11:10AM
(#29140620)
Depends on the provider. I've checked the pricing of 4 top relational database cloud vendors (Google, Amazon, Azure, IBM) and they all charge for the number of CPU cores and RAM you buy, not by the number of rows scanned like PlanetScale did in the post you refer to. They'll be more expensive than buying your own server but not nearly what PlanetScale charges for full table scan queries.
Re:A terrible schema from a clueless programmer
by late2part on Sunday November 07, 2021 @10:48AM
(#29140406)
When do the rest of the folks figure it out?
Re:A terrible schema from a clueless programmer
by emerongi on Sunday November 07, 2021 @10:43AM
(#29140357)
To a degree, this is true though. An engineer's salary is a huge expense for a startup, it's straight up cheaper to spend more on cloud and have the engineer work on the product itself. Once you're bigger, you can optimize, of course.
Re:A terrible schema from a clueless programmer
by late2part on Sunday November 07, 2021 @10:48AM
(#29140404)
Deleted
Re:A terrible schema from a clueless programmer
by emerongi on Sunday November 07, 2021 @10:57AM
(#29140503)
If this is a case from real life that you have seen, you should definitely elaborate more on it. Otherwise, you are creating an extreme example that has no significance in the discussion, as I could create similarly ridiculous examples for the other side.
There are always costs and benefits to decisions. It seems that are you only looking at the costs and none of the benefits?
Re:A terrible schema from a clueless programmer
by late2part on Sunday November 07, 2021 @11:04AM
(#29140551)
Deleted