Re:DynamoDB 10 years later
by AtlasBarfed on Thursday January 20, 2022 @12:43PM
(#30012081)
Did they have a spare 100 million hanging around to burn? That seems pretty ridiculous. Why did they not just run cassandra?
[ Parent
| on HN ]
Re:DynamoDB 10 years later
by 0xbadcafebee on Thursday January 20, 2022 @02:11PM
(#30013238)
They did have 100 million to burn, but my mostly-wild-guess is it was closer to $1.5M/yr. But that gives you an in-house SaaS DB used across a hundred other teams/products/services, so it actually saved money (and nothing else matched its performance/CAP/functionality).
Cassandra is too opinionated and its CAP behavior wasn't great for a service like this, so they built on top of Riak. (This also eliminated any thoughts I had about Erlang being some uber-language for distributed systems, as there were (are?) tons of bugs and missing edge cases in Riak)
Re:DynamoDB 10 years later
by staticassertion on Thursday January 20, 2022 @03:55PM
(#30014824)
Erlang gives you great primitives for building reliable protocols, but they're just primitives, and there are tons of footguns since building protocols is hard.
Re:DynamoDB 10 years later
by AtlasBarfed on Thursday January 20, 2022 @11:26PM
(#30019154)
Because Riak uses vector clocks instead of cell timestamps? Cassandra's ONE/QUORUM/ALL consistency levels otherwise allow tuning for tolerance of CP vs AP, don't they?
Re:DynamoDB 10 years later
by 0xbadcafebee on Friday January 21, 2022 @12:22PM
(#30026676)
To be honest I don't know, I wasn't there for the initial decision, but I know it wasn't just about CAP. It could have been as simple as Riak was easier to use (which I don't know either)
Re:DynamoDB 10 years later
by spookthesunset on Thursday January 20, 2022 @03:09PM
(#30014035)
> Why did they not just run cassandra?
Not Invented Here can run very deep in some branches of an organization. Depending on how engineering performance evaluations work, writing a homebrew database could totally be something that aligns with the company incentives. It might not make a single bit of sense from a business standpoint but hey, if the company rewards such behavior don't be surprised when engineers flush millions down the tube "innovating" a brand new wheel.