Readit News logoReadit News
GabeWeiss_ commented on Google Cloud Spanner is now half the cost of Amazon DynamoDB   cloud.google.com/blog/pro... · Posted by u/forrestbrazeal
silisili · 2 years ago
Not necessarily true. DynamoDB on demand pricing is actually way cheaper than RDS or EC2 based anything for small workloads, especially when you want it replicated.
GabeWeiss_ · 2 years ago
Fair enough, I'm not (obviously) as familiar with the AWS systems and how the price to performance ratio works out for all the products.
GabeWeiss_ commented on Google Cloud Spanner is now half the cost of Amazon DynamoDB   cloud.google.com/blog/pro... · Posted by u/forrestbrazeal
QuercusMax · 2 years ago
It's way WAY more than just Infra Spanner vs Cloud Spanner. Cloud spanner doesn't support protobuf, which is annoying, but that's not a dealbreaker; it's still just a DB. The issue is really all the various internal frameworks (such as Apps Framework for Java), deployment systems (Server Platform, AKA Boq/Pod/Urfin), and so forth.
GabeWeiss_ · 2 years ago
Of course, I was simplifying. It's always more complicated doing a migration. :)
GabeWeiss_ commented on Google Cloud Spanner is now half the cost of Amazon DynamoDB   cloud.google.com/blog/pro... · Posted by u/forrestbrazeal
vineyardmike · 2 years ago
Google calls API calls “queries”… because of their history as a search engine. QPS == API calls/per second == Requests per second

That said, I can’t imagine these numbers mean much to anyone after a certain point. It’s not like either company is running a single service handling them. The scale is limited by their budget and access to servers because my traffic shouldn’t impact yours. I feel like the better number is RPS/QPS per table or per logical database or whatever.

GabeWeiss_ · 2 years ago
Yes, but QPS vs. "queries to the API". The difference is the time slice. I should have been more explicit. The key here really is the time function between the numbers. That the AWS blog calls out trillions of API calls isn't relevant because there wasn't a specific time denominator. The 126M QPS is the important stat.
GabeWeiss_ commented on Google Cloud Spanner is now half the cost of Amazon DynamoDB   cloud.google.com/blog/pro... · Posted by u/forrestbrazeal
nerpderp82 · 2 years ago
Does Google run on GCP?
GabeWeiss_ · 2 years ago
Parts, yes. In reference to the specifics mentioned in here though, those services run on Infra Spanner, not Cloud Spanner, but they're the same stack. The main reason things like Gmail, Ads, etc haven't swapped into GCP is because of the internal tooling that's built up around the infra spanner relating to those services specific to Google that don't make sense in Cloud Spanner.
GabeWeiss_ commented on Google Cloud Spanner is now half the cost of Amazon DynamoDB   cloud.google.com/blog/pro... · Posted by u/forrestbrazeal
aa_is_op · 2 years ago
But twice as complex to use, though.

That GCP interface is cancer. You need a Google-to-English dictionary to understand it.

GabeWeiss_ · 2 years ago
Tell me more (bonus points if you find me on LinkedIn or other social because tracking comment responses on HN is really rough). I'd love feedback you have so I can bring it back to the product team!
GabeWeiss_ commented on Google Cloud Spanner is now half the cost of Amazon DynamoDB   cloud.google.com/blog/pro... · Posted by u/forrestbrazeal
baridbelmedar · 2 years ago
I'm really excited about this as a customer. We're probably going to be able to save a lot of money because of it. So now, with the new Postgres compatibility layer and the "lower cost", it will be easier for me to choose Spanner when we start new projects.
GabeWeiss_ · 2 years ago
Really glad to hear! Please find me on social media or LinkedIn and let me know how it goes for you using the PG layer. I'd love to hear more feedback.
GabeWeiss_ commented on Google Cloud Spanner is now half the cost of Amazon DynamoDB   cloud.google.com/blog/pro... · Posted by u/forrestbrazeal
benmanns · 2 years ago
I wish I could play around with Spanner for personal/side projects, but a production ready instance starts at $65/mo. DynamoDB can run for ~$0.00/month with per-request pricing.
GabeWeiss_ · 2 years ago
You can! Spanner has a free trial: https://cloud.google.com/spanner/docs/free-trial-instance. Keep in mind, that per-request pricing isn't free unless you stay under the free tier. So just take a look at what those limits are because going above them means you're not free anymore.
GabeWeiss_ commented on Google Cloud Spanner is now half the cost of Amazon DynamoDB   cloud.google.com/blog/pro... · Posted by u/forrestbrazeal
goeldhru · 2 years ago
If only someone could actually run and publish comparison benchmarks, but DeWitt clause by Spanner makes it impossible.
GabeWeiss_ · 2 years ago
The DeWitt clause is only there to prevent badly written performance data from getting attention it shouldn't. If anyone writes a good benchmark (good process, not good results, necessarily) to bring to us, our product teams absolutely will consider it.
GabeWeiss_ commented on Google Cloud Spanner is now half the cost of Amazon DynamoDB   cloud.google.com/blog/pro... · Posted by u/forrestbrazeal
smueller1234 · 2 years ago
Yes, it's the same Spanner that's used internally. But obviously it's progressed hugely since 2013.
GabeWeiss_ · 2 years ago
More specifically, infra and cloud Spanner are the same stack. So they've progressed together hugely since 2013. :) The real differences between the two are more about the internal tooling we (Google) have around infra that's built up with our other services that consume it over the years that aren't relevant to anyone other than Google.
GabeWeiss_ commented on Google Cloud Spanner is now half the cost of Amazon DynamoDB   cloud.google.com/blog/pro... · Posted by u/forrestbrazeal
nameless912 · 2 years ago
And for many projects, Postgres is still cheaper than both. Having used both, I would much, much rather do the work to fit my project in Postgres/CockroachDB than use either Spanner or DynamoDB, which have WAY more footguns. Not to mention sudden cost spikes, vendor lock in, and god knows what else.

AWS and GCP (and Azure, and Oracle cloud, and bare Kubernetes via an operator, and...) support Postgres really well. Just...use Postgres.

GabeWeiss_ · 2 years ago
But that's kind of a moot point. I mean, if you're even looking at the likes of DynamoDB or Spanner, it's because you need the scale of those engines. PostgreSQL is fantastic, and even working for Google, I 100% agree with you. Just use PG...until you can't. Once you're in the realm of Spanner and DynamoDB, that's where this discussion becomes more of a thing.

u/GabeWeiss_

KarmaCake day150March 13, 2018View Original