Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB
by res0nat0r on Wednesday October 11, 2023 @03:11PM
(#37848937)
I don't think it's really relevant to compare plain Postgres to Spanner, most folks have no need for something like this. It is made for folks who need to do millions of ACID type transactions a second/minute from all over the globe, and have a globally consistent database at all times.
There's a reason why Google installed and built their own atomic clocks and put them in their datacenters, it is to facilitate global timekeeping for this type of services. Most likely 99.9% of the time this type of database is overkill, and also likely way more expensive than you need.
https://cloud.google.com/spanner/docs/true-time-external-con...
Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB
by riku_iki on Wednesday October 11, 2023 @04:31PM
(#37849886)
> It is made for folks who need to do millions of ACID type transactions a second/minute from all over the globe, and have a globally consistent database at all times.
I think just doing some (not necessary millions) ACID transactions over the globe and have consistent DB is strong value proposition even for small users.
Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB
by lijok on Wednesday October 11, 2023 @07:28PM
(#37851701)
The dynamodb docker image you’re referring to will get you shot if you try and use it in prod. It’s an API wrapper on top of sqlite and has a ton of missing functionality
There are a couple of databases out there with ddb compatible interfaces, like scylladb
The entire point is that every cloud provider has a managed postgres offering, and there's no vendor lock-in. Though, technically, Dynamo does have a docker image you could run in other cloud providers if it came down to that, you'd get no support for it.