News for hackers. Stuff that matters.
Re:Databases: 2021 in Review and Predictions for 2022 by dynamite-ready on Friday November 11, 2022 @08:39AM (#33560669)
Considered posting an Ask HN, and this is a bit of a segue, but seems a relevant place to ask... What do people think of DynamoDB? I think it fits my use case, and apparently, there's enough overlap with Cassandra to support a migration, if it turns out to be a bad idea. But I rarely see much writing about teams using it, so wondered about support / popularity / resources?
Re:Databases: 2021 in Review and Predictions for 2022 by tyingq on Friday November 11, 2022 @09:32AM (#33561233)
The hard 400kb per item limit does sort of force a pause to make sure it will still work well over the lifetime of the app. Not that huge "rows" are a good idea, but that's roughly 2 pages of text.
Re:Databases: 2021 in Review and Predictions for 2022 by AndrewGreen on Friday November 11, 2022 @10:11AM (#33561753)
I think it's more like 200 pages of text -- 2kB/page is what I've always worked off.
Re:Databases: 2021 in Review and Predictions for 2022 by tyingq on Friday November 11, 2022 @11:41AM (#33563014)
Heh, yep. Missed some magnitude there. Argh. Though still something to consider, like pulling from SQS could use most of the item space for example.
Re:Databases: 2021 in Review and Predictions for 2022 by cakeface on Saturday November 12, 2022 @09:35PM (#33579376)
Dynamodb is very scalable and effective at keeping operational cost down. It succeeds at it's goals by trading off on lots of things though. As a developer it can feel almost hostile. Adhoc queries are limited almost forcing you to have a complete second copy of the data. Access patterns must be designed up front and hope you don't need to change much when you hit scale. The tooling is meh. It's easier to make a scalable database when you push all those problems on your devs. Constraints are tricky. Transactions must be carefully designed. It's nice to know that almost definitely read and write throughput will scale and you can reduce the DBA/DevOps staff because AWS handles it.