TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Introducing Cloud Spanner, a Global Database Service

1068 pointsby wwilsonover 8 years ago

55 comments

ChuckMcMover 8 years ago
Congratulations to the Spanner team for becoming part of the Google public cloud!<p>And for those wondering, this is why Oracle wants billions of dollars from Google for &quot;Java Copyright Infringement&quot; because the only growth market for Oracle right now is their hosted database service, and whoops Google has a better one now.<p>It will be interesting if Amazon and Microsoft choose to compete with Google on this service. If we get to the point where you have databases, compute, storage, and connectivity services from those three at equal scale, well that would be a lot of choice for the developers!
评论 #13645922 未加载
评论 #13645718 未加载
评论 #13645876 未加载
评论 #13645932 未加载
评论 #13648708 未加载
评论 #13645633 未加载
评论 #13648388 未加载
评论 #13645713 未加载
评论 #13649532 未加载
评论 #13646916 未加载
suprgeekover 8 years ago
Really a CP system but with the Availability being five 9s or better (less than one failure in 10^6)<p>How: 1)Hardware - Gobs and Gobs of Hardware and SRE experience<p>&quot;Spanner is not running over the public Internet — in fact, every Spanner packet flows only over Google-controlled routers and links (excluding any edge links to remote clients). Furthermore, each data center typically has at least three independent fibers connecting it to the private global network, thus ensuring path diversity for every pair of data centers. Similarly, there is redundancy of equipment and paths within a datacenter. Thus normally catastrophic events, such as cut fiber lines, do not lead to partitions or to outages.&quot;<p>2) Ninja 2PC<p>&quot;Spanner uses two-phase commit (2PC) and strict two-phase locking to ensure isolation and strong consistency. 2PC has been called the “anti-availability” protocol [Hel16] because all members must be up for it to work. Spanner mitigates this by having each member be a Paxos group, thus ensuring each 2PC “member” is highly available even if some of its Paxos participants are down.&quot;
评论 #13646543 未加载
评论 #13646796 未加载
tedd4uover 8 years ago
The team here at Quizlet did a lot of performance testing on Spanner with one of our MySQL workloads to see if it&#x27;s an option for us. Here are the test results: <a href="https:&#x2F;&#x2F;quizlet.com&#x2F;blog&#x2F;quizlet-cloud-spanner" rel="nofollow">https:&#x2F;&#x2F;quizlet.com&#x2F;blog&#x2F;quizlet-cloud-spanner</a>
评论 #13645239 未加载
评论 #13645942 未加载
评论 #13645492 未加载
评论 #13645587 未加载
评论 #13647627 未加载
评论 #13648441 未加载
评论 #13645994 未加载
评论 #13648078 未加载
jedbergover 8 years ago
This release shows the different philosophies of Google vs Amazon in an interesting way.<p>Google prefers building advanced systems that let you do things &quot;the old way&quot; but making them horizontally scalable.<p>Amazon prefers to acknowledge that network partitions exist and try to get you to do things &quot;the new way&quot; that deals with that failure case in the software instead of trying to hide it.<p>I&#x27;m not saying either system is better than the other, but doing it Google&#x27;s way is certainly easier for Enterprises that want to make the move, and why Amazon is starting to break with tradition and release products that let you do things &quot;the old way&quot; while hiding the details in an abstraction.<p>I&#x27;ve always said that Google is technically better than AWS, but no one will ever know because they don&#x27;t have a strong sales team to go and show people.<p>This release only solidifies that point.
评论 #13646146 未加载
评论 #13646618 未加载
评论 #13647564 未加载
评论 #13646028 未加载
评论 #13646014 未加载
评论 #13649631 未加载
评论 #13653628 未加载
评论 #13645982 未加载
评论 #13645972 未加载
richdoughertyover 8 years ago
Some interesting stuff in <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;spanner&#x2F;docs&#x2F;whitepapers&#x2F;SpannerAndCap.pdf" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;spanner&#x2F;docs&#x2F;whitepapers&#x2F;SpannerAnd...</a> about the social aspects of high availability.<p>1. Defining high availability in terms of how a system is used: &quot;In turn, the real litmus test is whether or not users (that want their own service to be highly available) write the code to handle outage exceptions: if they haven’t written that code, then they are assuming high availability. Based on a large number of internal users of Spanner, we know that they assume Spanner is highly available.&quot;<p>2. Ensuring that people don&#x27;t become too dependent on high availability: &quot;Starting in 2009, due to “excess” availability, Chubby’s Site Reliability Engineers (SREs) started forcing periodic outages to ensure we continue to understand dependencies and the impact of Chubby failures.&quot;<p>I think 2 is really interesting. Netflix has Chaos Monkey to help address this (<a href="https:&#x2F;&#x2F;github.com&#x2F;Netflix&#x2F;SimianArmy&#x2F;wiki&#x2F;Chaos-Monkey" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Netflix&#x2F;SimianArmy&#x2F;wiki&#x2F;Chaos-Monkey</a>). There&#x27;s also a book called Foolproof (<a href="https:&#x2F;&#x2F;www.theguardian.com&#x2F;books&#x2F;2015&#x2F;oct&#x2F;12&#x2F;foolproof-greg-ip-review-biggest-risk-is-safety" rel="nofollow">https:&#x2F;&#x2F;www.theguardian.com&#x2F;books&#x2F;2015&#x2F;oct&#x2F;12&#x2F;foolproof-greg...</a>) which talks about how perceived safety can lead to bigger disasters in lots of different areas: finance, driving, natural disasters, etc.
评论 #13648605 未加载
karldingover 8 years ago
I wonder how this will affect adoption of CockroachDB [1], which was inspired by Spanner and supposedly an open source equivalent. I&#x27;d imagine that Spanner is a rather compelling choice, since they don&#x27;t have to host it themselves. As far as I know, CockroachDB currently does not support providing CockroachDB as a service (but it is on their roadmap) [2].<p>[1] <a href="https:&#x2F;&#x2F;www.cockroachlabs.com&#x2F;docs&#x2F;frequently-asked-questions.html" rel="nofollow">https:&#x2F;&#x2F;www.cockroachlabs.com&#x2F;docs&#x2F;frequently-asked-question...</a><p>[2] <a href="https:&#x2F;&#x2F;www.cockroachlabs.com&#x2F;docs&#x2F;frequently-asked-questions.html#does-cockroach-labs-offer-a-cloud-database-as-a-service" rel="nofollow">https:&#x2F;&#x2F;www.cockroachlabs.com&#x2F;docs&#x2F;frequently-asked-question...</a>
评论 #13646523 未加载
评论 #13645424 未加载
评论 #13645926 未加载
评论 #13645458 未加载
评论 #13646648 未加载
评论 #13645359 未加载
评论 #13647494 未加载
sudhirjover 8 years ago
For those trying to compare this with AWS Aurora, Aurora is more a regular database (MySQL &#x2F; Postgres) engine with a custom data storage plugin that&#x27;s AWS&#x2F;ELB&#x2F;SSD&#x2F;EFS-aware. Because of this the database engine can make AWS specific decisions and optimizations that greatly boost performance. It supports master-master replication in the same region, master-slave across regions.<p>Global Spanner looks like a different beast, though. It looks like Google has configured a database for master-master(-master?) replication, across regions and even continents. They seem to be pulling it off by running only their own fiber, each master being a paxos cluster itself, GPS, atomic clocks and lot of other whiz-bangery.
评论 #13645987 未加载
评论 #13646365 未加载
cipherzeroover 8 years ago
The white paper is available here: <a href="http:&#x2F;&#x2F;static.googleusercontent.com&#x2F;media&#x2F;research.google.com&#x2F;en&#x2F;us&#x2F;archive&#x2F;spanner-osdi2012.pdf" rel="nofollow">http:&#x2F;&#x2F;static.googleusercontent.com&#x2F;media&#x2F;research.google.co...</a><p>for anyone interested
评论 #13645111 未加载
runeksover 8 years ago
I wonder why they charge a minimum of $0.90 per node-hour when they offer VMs for as little as $0.008&#x2F;hr. This is hugely useful even for single-person startups, so why charge a minimum of ~$8,000 per year?
评论 #13645423 未加载
评论 #13645819 未加载
评论 #13645245 未加载
评论 #13645296 未加载
评论 #13645889 未加载
评论 #13646065 未加载
评论 #13645597 未加载
评论 #13645317 未加载
评论 #13645259 未加载
评论 #13645283 未加载
评论 #13645242 未加载
xapataover 8 years ago
Amazon likes to respond to Google with it&#x27;s own price drops and product launches. It&#x27;s telling that their announcements are orthogonal instead of direct competition with Spanner.<p>When Google announced Spanner back in 2012, I&#x27;m sure Amazon and Microsoft started teams to reproduce their own versions.<p>Spanner is not just software. The private network reduces partitions. GPS and atomic clocks for every machine help synchronize time globally. There won&#x27;t be a Hadoop equivalent for Spanner, unless it includes the hardware spec.
评论 #13645602 未加载
emersonrsantosover 8 years ago
Thomas Watson in 1943 amd his famous quote: “I think there is a world market for about five computers&quot;.<p>If he was alive, he could say these computers are Google, Apple, Microsoft, Amazon and Facebook.
评论 #13645758 未加载
abaloneover 8 years ago
How does this compare to AWS Aurora in terms of pricing and performance?<p>With Aurora the basic instance is $48&#x2F;month and they recommend at least two in separate zones for availability, so it&#x27;s about $96&#x2F;month minimum. Storage is $.10&#x2F;GB and IO is $.20 per million requests. Data transfer starts at $.09&#x2F;GB and the first GB is free.[1]<p>Spanner is a minimum of $650&#x2F;mo (6X the Aurora minimum), storage is $.30&#x2F;GB (3X), and data transfer starts at $.12&#x2F;GB (1.3X).<p>Of course with Aurora you have to pick your instance size and bigger faster instances will cost more. Also there&#x27;s the matter of multi-region replication, although it appears that aspect of Spanner is not priced out yet. So maybe as you scale the gap narrows, but it&#x27;s interesting to price out the entry point for startups.<p>[1] <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;rds&#x2F;aurora&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;rds&#x2F;aurora&#x2F;</a>
评论 #13645811 未加载
tabethover 8 years ago
Forgive my ignorance, but could someone explain in layman&#x27;s terms in which situation this would be helpful? E.g. if I have 1TB of data would I use this? If I have 1GB with a growth rate of 25GB&#x2F;daily would I use this?
评论 #13647880 未加载
评论 #13647577 未加载
Ajedi32over 8 years ago
&gt; Today, we’re excited to announce the public beta for Cloud Spanner, a globally distributed relational database service that lets customers have their cake and eat it too: ACID transactions and SQL semantics, without giving up horizontal scaling and high availability.<p>This sounds too good to be true. But it&#x27;s Google, so maybe not. Time to start reading whitepapers...
bowmessageover 8 years ago
Interesting reading: Spanner Whitepaper<p><a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;spanner&#x2F;docs&#x2F;whitepapers&#x2F;SpannerAndCap.pdf" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;spanner&#x2F;docs&#x2F;whitepapers&#x2F;SpannerAnd...</a>
jdcarrover 8 years ago
Link to the actual OSDI paper (not the simpler whitepaper) <a href="https:&#x2F;&#x2F;static.googleusercontent.com&#x2F;media&#x2F;research.google.com&#x2F;en&#x2F;&#x2F;archive&#x2F;spanner-osdi2012.pdf" rel="nofollow">https:&#x2F;&#x2F;static.googleusercontent.com&#x2F;media&#x2F;research.google.c...</a>
kennethmac2000over 8 years ago
Looks cool, but the pricing seems a bit non-cloud-native (or at least non-GCP-native).<p>&quot;You are charged each hour for the maximum number of nodes that exist during that hour.&quot;<p>We&#x27;ve been educated by Google to consider per-minute, per-instance&#x2F;node billing normal - and presumably all the arguments about why this is the right, pro-customer way to price GCE apply equally to Cloud Spanner.
评论 #13646239 未加载
elvinyungover 8 years ago
While everyone is puzzling over how Spanner seems to be claiming to be CA, I would like to take this opportunity to bring up PACELC[1].<p>The idea is that the A-or-C choice in CAP only applies during network partitions, so it&#x27;s not sufficient to describe a distributed system as either CP or AP. When the network is fine, the choice is between low latency and consistency.<p>In the case of Spanner, it chooses consistency over availability during network partitions, and consistency over low latency in the absence of partitions.<p>1: <a href="http:&#x2F;&#x2F;cs-www.cs.yale.edu&#x2F;homes&#x2F;dna&#x2F;papers&#x2F;abadi-pacelc.pdf" rel="nofollow">http:&#x2F;&#x2F;cs-www.cs.yale.edu&#x2F;homes&#x2F;dna&#x2F;papers&#x2F;abadi-pacelc.pdf</a>
评论 #13645946 未加载
评论 #13646807 未加载
andy_pppover 8 years ago
&gt; clients can do globally consistent reads across the entire database without locking<p>How is this possible across data centres? Does it send data everywhere at once?<p>Seems too good to be true of course but if it works and scales it might be worthwhile just not having to worry about your database scaling? Still I don&#x27;t believe it ;-)<p>EDIT: further info...<p>&gt; Spanner mitigates this by having each member be a Paxos group, thus ensuring each 2PC “member” is highly available even if some of its Paxos participants are down. Data is divided into groups that form the basic unit of placement and replication.<p>So it&#x27;s SQL with Paxos that presumably never get&#x27;s confused but during a partition will presumably not be consistent.
评论 #13645204 未加载
评论 #13645630 未加载
评论 #13645469 未加载
sebringjover 8 years ago
I was like YES!!! Then I read for a single node it is 90 cents per hours then I was like NO!!! so absolute minimal cost for me is $648&#x2F;month? I was hoping there was like a dev version. Maybe I didn&#x27;t read the fine print?
评论 #13650312 未加载
tamalsaha001over 8 years ago
One thing to note is Spanner&#x27;s transactions are different compared to what you get with a traditional RDBMS. See <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;spanner&#x2F;docs&#x2F;transactions#ro_transaction_example" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;spanner&#x2F;docs&#x2F;transactions#ro_transa...</a><p>An example is the rows you get back from a query like &quot;select * from T where x=a&quot; can&#x27;t be part of a RW transaction. I believe because they don&#x27;t have the time-stamp associated with them. So, you have to re-read those rows via primary key inside a RW transaction to update them. This can be a surprise if you are coming from a traditional RDBMS background. If you are think about porting your app from MySQL&#x2F;PostgreSQL to Spanner, it will be more than just updating query syntax.<p>Disclaimer: I used F1 (built on top of Spanner, <a href="https:&#x2F;&#x2F;research.google.com&#x2F;pubs&#x2F;pub41344.html" rel="nofollow">https:&#x2F;&#x2F;research.google.com&#x2F;pubs&#x2F;pub41344.html</a>) few years ago.
the_cap_theoremover 8 years ago
&gt;&gt; Remarkably, Cloud Spanner achieves this combination of features without violating the CAP Theorem.<p>This is the best weasel PR language I have seen in a long time.<p>Note that the sentence does not actually proclaim that they solved (the previously &quot;unsolvable&quot;) problem of achieving distributed consensus with unreliable communication while maintaining partition tolerance and availability.<p>The blog only says they don&#x27;t &quot;violate&quot; the CAP theorem -- whatever that means. So the statement is technically correct. Still the intention is obviously to mislead the casual reader (why else would you start the sentence with &quot;Remarkably&quot;?).<p>A litmus test: The same statement is true for MySQL - or _any other_ database in fact:<p><pre><code> &gt;&gt; &quot;Remarkably, MySQL achieves this combination of features without violating the CAP theorem&quot; </code></pre> It&#x27;s a bit like saying<p><pre><code> &gt;&gt; &quot;Remarkably, MySQL is not a perpetuum mobile&quot;</code></pre>
dhd415over 8 years ago
Given that CockrochDB is based on Spanner and F1, this DBaaS sounds like it will compete directly with them.
评论 #13647892 未加载
wcdolphinover 8 years ago
Is JSON data type support in the works? Seems to be a very commonly requested feature these days.
评论 #13647326 未加载
gonyeaover 8 years ago
I can vouch for Spanner: it&#x27;s a badass piece of Google&#x27;s infrastructure.
nodesocketover 8 years ago
Related, I wrote a blog post on the network latency between Google Compute Engine zones and regions. I&#x27;m assuming Cloud Spanner will still have these latencies once multi-region is deployed. Cross-zone latency on GCE is very good though.<p><a href="https:&#x2F;&#x2F;blog.elasticbyte.net&#x2F;comparing-bandwidth-prices-and-network-latency-between-google-compute-zones-and-regions&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.elasticbyte.net&#x2F;comparing-bandwidth-prices-and-...</a>
BinaryIdiotover 8 years ago
Oh this looks really compelling! Though I&#x27;m guessing this is targeted to companies? I&#x27;d love to use this for some personal projects but the pricing seems really high. Am I reading it right that a single node being used at least a tiny bit every hour is about $670 a month?<p>Maybe I&#x27;m misunderstanding how the pricing works here. Any clarification would be highly welcomed :)
评论 #13646153 未加载
pagadeover 8 years ago
What is TrueTime really? Are their Distributed Systems &#x27;sharing a global clock&#x27;?
评论 #13645385 未加载
评论 #13645324 未加载
评论 #13646841 未加载
executiveover 8 years ago
Does it support spatial objects &#x2F; can it replace PostGIS?
评论 #13645803 未加载
rdtscover 8 years ago
&gt; This leads to three kinds of systems: CA, CP and AP,<p>What is a distributed system that is CA? Can you build a distributed system which will never have a partition.
评论 #13645501 未加载
评论 #13645522 未加载
mallipeddiover 8 years ago
Few questions from reading the docs:<p>1) How big can all the colocated data for a single primary key get before they don&#x27;t fit within a split? Can I implement a GMail-like product where all the data for a single user resides within one split?<p>2) Is there a way to turn off external consistency and fall back to serializability? In return you get better write latencies. This is similar to what CockroachDB provides?
Beldurover 8 years ago
Here is a very interesting video from 2013 of Martin Schoenert explaining the Google Spanner White Paper (In german though): <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=2QKewyoOSL0" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=2QKewyoOSL0</a><p>Now he works for Google as an Engineering Manager.
tdrdover 8 years ago
Doesn&#x27;t seem possible to use this yet. No client libraries and no samples: <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;spanner&#x2F;docs&#x2F;tutorials" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;spanner&#x2F;docs&#x2F;tutorials</a><p>Have they documented the wire protocol? I couldn&#x27;t find it.
评论 #13645211 未加载
评论 #13645249 未加载
评论 #13645188 未加载
dorianmover 8 years ago
Spanner&#x27;s paper: <a href="https:&#x2F;&#x2F;static.googleusercontent.com&#x2F;media&#x2F;research.google.com&#x2F;en&#x2F;&#x2F;archive&#x2F;spanner-osdi2012.pdf" rel="nofollow">https:&#x2F;&#x2F;static.googleusercontent.com&#x2F;media&#x2F;research.google.c...</a>
sandGorgonover 8 years ago
&gt; <i>If you have a MySQL or PostgreSQL system that&#x27;s bursting at the seams</i><p>Postgresql ? How does this work for people <i>migrating</i> from traditional SQL databases - typically people use ORM. How would this fit in with, say , Rails or SqlAlchemy ?
评论 #13647434 未加载
评论 #13646572 未加载
rattrayover 8 years ago
Very interesting. How does this pricing compare to AWS Aurora? <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;rds&#x2F;aurora&#x2F;pricing&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;rds&#x2F;aurora&#x2F;pricing&#x2F;</a>
评论 #13645605 未加载
评论 #13645601 未加载
nodesocketover 8 years ago
So does Cloud Spanner replace the existing Google Cloud SQL offering [1]? What are the pros&#x2F;cons of each?<p>[1] <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;sql&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;sql&#x2F;</a>
评论 #13647249 未加载
评论 #13649302 未加载
jallriddleover 8 years ago
Is this similar to AWS Aurora or is this something else completely different?
评论 #13645046 未加载
评论 #13645050 未加载
danolsover 8 years ago
Interesting but without INSERT and UPDATE it just isn&#x27;t worth it for me. When can we expect it to handle data manipulation language (DML) statements?
DivineTraubeover 8 years ago
&quot;What if you could have a fully managed database service that&#x27;s consistent, scales horizontally across data centers and speaks SQL?&quot;<p>Looks like Google forgot to mention one central requirement: latency.<p>This is a hosted version of Spanner and F1. Since both systems are published, we know a lot about their trade-offs:<p>Spanner (see OSDI&#x27;12 and TODS&#x27;13 papers) evolved from the observation that Megastore guarantees - though useful - come at performance penalty that is prohibitive for some applications. Spanner is a multi-version database system that unlike Megastore (the system behind the Google Cloud Datastore) provides general-purpose transactions. The authors argue: We believe it is better to have application programmers deal with performance problems due to overuse of transactions as bottlenecks arise, rather than always coding around the lack of transactions. Spanner automatically groups data into partitions (tablets) that are synchronously replicated across sites via Paxos and stored in Colossus, the successor of the Google File System (GFS). Transactions in Spanner are based on two-phase locking (2PL) and two-phase commits (2PC) executed over the leaders for each partition involved in the transaction. In order for transactions to be serialized according to their global commit times, Spanner introduces TrueTime, an API for high precision timestamps with uncertainty bounds based on atomic clocks and GPS. Each transaction is assigned a commit timestamp from TrueTime and using the uncertainty bounds, the leader can wait until the transaction is guaranteed to be visible at all sites before releasing locks. This also enables efficient read-only transactions that can read a consistent snapshot for a certain timestamp across all data centers without any locking.<p>F1 (see VLDB&#x27;13 paper) builds on Spanner to support SQL-based access for Google&#x27;s advertising business. To this end, F1 introduces a hierarchical schema based on Protobuf, a rich data encoding format similar to Avro and Thrift. To support both OLTP and OLAP queries, it uses Spanner&#x27;s abstractions to provide consistent indexing. A lazy protocol for schema changes allows non-blocking schema evolution. Besides pessimistic Spanner transactions, F1 supports optimistic transactions. Each row bears a version timestamp that used at commit time to perform a short-lived pessimistic transaction to validate a transaction&#x27;s read set. Optimistic transactions in F1 suffer from the abort rate problem of optimistic concurrency control, as the read phase is latency-bound and the commit requires slow, distributed Spanner transactions, increasing the vulnerability window for potential conflicts.<p>While Spanner and F1 are highly influential system designs, they do come at a cost Google does not tell in its marketing: high latency. Consistent geo-replication is expensive even for single operations. Both optimistic and pessimistic transactions even increase these latencies.<p>It will be very interesting to see first benchmarks. My guess is that operation latencies will be in the order of 80-120ms and therefore much slower than what can be achieved on database clusters distributed only over local replicas.
评论 #13646869 未加载
评论 #13646660 未加载
etherealGover 8 years ago
I&#x27;d love to see a jepsen test. Maybe the spanner team would be able to sponsor an independent test?
aladineover 8 years ago
Great product from Google. I wonder what is the difference between Cloud Spanner and Google CloudSQL
评论 #13649292 未加载
darkersideover 8 years ago
&gt; Unlike most wide-area networks, and especially the public internet, Google controls the entire network and thus can ensure redundancy of hardware and paths, and can also control upgrades and operations in general<p>I know this is a single system, but I&#x27;ll still say it. This seems like another step in a scary trend for our internet.
评论 #13645392 未加载
评论 #13645237 未加载
评论 #13645334 未加载
gigatexalover 8 years ago
The sql syntax reference looks similar to that of Postgres&#x27; syntax reference.
评论 #13646255 未加载
essetiover 8 years ago
does anyone know if it works with django or a way to make it working? it should be a matter of a connector, no?
kozikowover 8 years ago
SqlAlchemy engine please :) ?
crooked-vover 8 years ago
Neat.<p>How long until it gets shut down with a month&#x27;s notice?
koolbaover 8 years ago
&gt; Today, we’re excited to announce the public beta for Cloud Spanner, a globally distributed relational database service that lets customers have their cake and eat it too: ACID transactions and SQL semantics, without giving up horizontal scaling and high availability.<p>This is a bold claim. What do they know about the CAP theorem that I don&#x27;t?<p>Separately, (emphasis mine):<p>&gt; If you have a MySQL <i>or PostgreSQL</i> system that&#x27;s bursting at the seams, or are struggling with hand-rolled transactions on top of an eventually-consistent database, Cloud Spanner could be the solution you&#x27;re looking for. Visit the Cloud Spanner page to learn more and get started building applications on our next-generation database service.<p>From the rest of the article it seems like the wire protocol for accessing it is MySQL. I wonder if they mean to add a PostgreSQL compatibility layer at some point.
评论 #13645097 未加载
评论 #13645092 未加载
评论 #13645089 未加载
评论 #13645056 未加载
评论 #13645055 未加载
评论 #13645421 未加载
评论 #13645085 未加载
评论 #13645074 未加载
评论 #13645096 未加载
评论 #13645142 未加载
评论 #13646798 未加载
评论 #13645077 未加载
评论 #13646163 未加载
评论 #13645167 未加载
评论 #13645145 未加载
评论 #13645129 未加载
mankash666over 8 years ago
While the product is compelling (acid compliant, horizontally scanning DB), it does seem expensive.<p>If you use 2 nodes&#x2F;hour, Cost = (2<i>0.9) </i> 24 * 31 = $1400&#x2F;month not anointing for storage and network chargers.
tajenover 8 years ago
&gt; $.90 per node per hour<p>That makes $700 per month. Is this the minumum? or can we have 0 node when the lambda is idle ?
williamle8300over 8 years ago
I see there&#x27;s &quot;data layer encryption&quot; but the data is still readable by Google. Why would anyone want to keep feeding the Google beast with more data?<p>Software is about separating concerns, and decentralizing authority. Responsible engineers shouldn&#x27;t be using this service.
Avlossover 8 years ago
Amazing! But why does this feel like such a de ja vue all over again.. (surely I&#x27;m missing something).. They&#x27;ve spent 5 years telling us that we just CAN&#x27;T scale SQL.. Now they&#x27;ll tell us that actually.. they&#x27;ve figured it out! :)
apiover 8 years ago
Given the CAP theorem I wonder what trade-offs they make and how much visibility they give you into these trade-offs.<p>In any case this is much better than Amazon&#x27;s offerings... when they actually ship it. :)
评论 #13645466 未加载
kozakover 8 years ago
I wonder how many people will get a seizure from that red-blue blinking rectangle in the video :(<p>Upd: Downvoting this warning will only increase that number.
theptipover 8 years ago
&gt; Does this mean that Spanner is a CA system as defined by CAP? The short answer is “no” technically, but “yes” in effect and its users can and do assume CA.<p>It&#x27;s somewhat ironic that Brewer, the original author of the CAP theorem, is making this sort of marketing-led bending of the CAP theorem terminology. I think what he really should be saying is something in more nuanced language like this: <a href="https:&#x2F;&#x2F;martin.kleppmann.com&#x2F;2015&#x2F;05&#x2F;11&#x2F;please-stop-calling-databases-cp-or-ap.html" rel="nofollow">https:&#x2F;&#x2F;martin.kleppmann.com&#x2F;2015&#x2F;05&#x2F;11&#x2F;please-stop-calling-...</a><p>But perhaps Google&#x27;s marketing department needed something in the more popular &quot;CP or AP?&quot; terminology. I don&#x27;t see what would be wrong with &quot;CP with extremely high availability&quot; though.<p>It&#x27;s certainly wacky to be claiming that a system is &quot;CA&quot;, since as the post admits it&#x27;s technically false; to me this makes it clear that CP vs. AP (vs. CA now?) does not convey enough information. I&#x27;d prefer &quot;a linearizably-consistent data store, with ACID semantics, with a 99.999% uptime SLA&quot;. Not as snappy as &quot;CA&quot; (I will never have a career in marketing I suppose), but it makes the technical claims more clear.
评论 #13646848 未加载