{"id":333307,"date":"2017-02-15T01:00:01","date_gmt":"2017-02-14T17:00:01","guid":{"rendered":"http:\/\/techcrunch.com\/?p=1451901"},"modified":"2017-02-15T01:00:01","modified_gmt":"2017-02-14T17:00:01","slug":"google-launches-cloud-spanner-its-new-globally-distributed-relational-database-service","status":"publish","type":"post","link":"https:\/\/people.utm.my\/asmawisham\/google-launches-cloud-spanner-its-new-globally-distributed-relational-database-service\/","title":{"rendered":"Google launches Cloud Spanner, its new globally distributed relational database service"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/google-cloud-spanner.jpg?w=738\" class=\"\"\/><\/p>\n<p>Google today <a target=\"_blank\" href=\"https:\/\/cloudplatform.googleblog.com\/2017\/02\/introducing-Cloud-Spanner-a-global-database-service-for-mission-critical-applications.html\">announced<\/a> the beta launch of Cloud Spanner, a new globally distributed database service for mission-critical applications. Cloud Spanner joins Google\u2019s other cloud-based database services, like Bigtable, Cloud SQL and the Cloud Datastore, but with the crucial difference of offering developers the best of both traditional relational databases and NoSQL databases \u2014 that is, transactional consistency with easy scalability. Maybe the easiest way to think about Cloud Spanner is as an alternative\u00a0for developers who are hitting the limits of traditional relational databases like MySQL or PostgreSQL.<\/p>\n<p>If the name Cloud Spanner sounds familiar, that\u2019s probably because Google has long used a version of this database internally, and published <a target=\"_blank\" href=\"http:\/\/static.googleusercontent.com\/media\/research.google.com\/en\/\/archive\/spanner-osdi2012.pdf\">a paper<\/a> about it in 2012. As Google\u2019s\u00a0Deepti Srivastava told me, Google started working on Spanner in 2007 because it was looking for an alternative to MySQL, which previously ran many of the company\u2019s products. Today, products like Google Photos and many of Google\u2019s mission-critical applications run on Spanner. With Cloud Spanner, Google is making this same database service available to outside developers, as well.<\/p>\n<p><span class=\"embed-youtube c5\"><iframe loading=\"lazy\" class=\"youtube-player c4\" type=\"text\/html\" width=\"640\" height=\"390\" src=\"https:\/\/www.youtube.com\/embed\/amcf6W2Xv6M?version=3&#038;rel=1&#038;fs=1&#038;autohide=2&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent\" allowfullscreen=\"true\">[embedded content]<\/iframe><\/span><\/p>\n<p>The idea here is to allow developers to take all of the knowledge they built in writing SQL-based applications and allow them to take that to a new database service that\u00a0still uses the SQL syntax and offers ACID transactions (something you want for your point of sales system if you are a big-box retailer, for example), but also offers\u00a0many of the advantages of modern NoSQL databases, combined with the kind of scalability and global network that Google itself needs to run its products.<\/p>\n<p><span class=\"NormalTextRun SCX175935011\"><a target=\"_blank\" href=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/2017-02-14_0903.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-1452611\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/2017-02-14_0903.png?w=256&#038;h=236\" alt=\"2017-02-14_0903\" width=\"256\" height=\"236\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/2017-02-14_0903.png?w=256&#038;h=236 256w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/2017-02-14_0903.png?w=512&#038;h=472 512w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/2017-02-14_0903.png?w=150&#038;h=139 150w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/2017-02-14_0903.png?w=300&#038;h=277 300w\" sizes=\"(max-width: 256px) 100vw, 256px\"\/><\/a>\u201cIf you are struggling with the scale of your transactional database \u2014 you will go to a<\/span> <a target=\"_blank\" href=\"https:\/\/en.wikipedia.org\/wiki\/Shard_(database_architecture)\"><span class=\"SpellingError SCX175935011\">sharded<\/span><\/a> <span class=\"NormalTextRun SCX175935011\"><a target=\"_blank\" href=\"https:\/\/en.wikipedia.org\/wiki\/Shard_(database_architecture)\">database<\/a>, or NoSQL,\u201d Srivastava said. \u201c<span class=\"SpellingError SCX24526962\">If y<\/span><span class=\"SpellingError SCX24526962\">ou\u2019re<\/span> <span class=\"NormalTextRun SCX24526962\">at that stage where you have to make those trade-offs, Spanner is the way to go. You are already doing work to use one of those systems. We try to make that trade-off as simple as possible.\u201d<\/span><\/span><\/p>\n<p>She also noted that while there is no theoretical limit as to how big a Cloud Spanner database can be (and she also stressed\u00a0that there\u2019s no reason you couldn\u2019t use it for smaller projects, as well), the main advantage here isn\u2019t necessarily scalability but also the ability to do global transactions. In this respect, it\u2019s probably best to think of Cloud Spanner as an extension of\u00a0<a target=\"_blank\" href=\"https:\/\/cloud.google.com\/datastore\/\">Cloud Datastore<\/a>, which is Google\u2019s highly scalable NoSQL database service that also offers ACID transactions and SQL-like queries.<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/cloud-spanner-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1452605\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/cloud-spanner-4.png?w=1024&#038;h=348\" alt=\"cloud-spanner-4\" width=\"1024\" height=\"348\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/cloud-spanner-4.png?w=1024&#038;h=348 1024w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/cloud-spanner-4.png?w=150&#038;h=51 150w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/cloud-spanner-4.png?w=300&#038;h=102 300w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/cloud-spanner-4.png?w=768&#038;h=261 768w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/cloud-spanner-4.png?w=680&#038;h=231 680w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/cloud-spanner-4.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"\/><\/a><\/p>\n<p>We obviously don\u2019t know what performance will look like, but Google promises that Cloud Spanner will be on par with other cloud database services.<\/p>\n<p>Google also promises 99.9999 percent uptimes for Cloud Spanner, and the project will launch with client libraries for languages like Java, Go, Python and Node.js. During the beta test, a number of companies also built drivers for other languages, so we\u2019ll likely see support for other languages soon.<\/p>\n<p>Prices start a $0.90 per node per hour (which includes replication) and storage will cost $0.30 per GB per month. Network ingress is free and egress is charged according to Google\u2019s usual cross-region and internet egress rates.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"383\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/google-cloud-spanner.jpg?w=680\" class=\"attachment-large size-large wp-post-image\" alt=\"google-cloud-spanner\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/google-cloud-spanner.jpg?w=680 680w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/google-cloud-spanner.jpg?w=1360 1360w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/google-cloud-spanner.jpg?w=150 150w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/google-cloud-spanner.jpg?w=300 300w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/google-cloud-spanner.jpg?w=768 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/>&nbsp;Google today announced the beta launch of Cloud Spanner, a new globally distributed database service for mission-critical applications. Cloud Spanner joins Google&#8217;s other cloud-based database services, like Bigtable, Cloud SQL and the Cloud Datastore, but with the crucial difference of offering developers the best of both traditional relational databases and NoSQL databases &#8212; that&hellip; <a href=\"https:\/\/techcrunch.com\/2017\/02\/14\/google-launches-cloud-spanner-a-new-globally-distributed-database-service\/?ncid=rss\">Read More<\/a><\/p>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=vzZQe-ru_rI:bbCxKXbTudY:2mJPEYqXBVI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=2mJPEYqXBVI\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=vzZQe-ru_rI:bbCxKXbTudY:7Q72WNTAKBA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=7Q72WNTAKBA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=vzZQe-ru_rI:bbCxKXbTudY:yIl2AUoC8zA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=yIl2AUoC8zA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=vzZQe-ru_rI:bbCxKXbTudY:-BTjWOF_DHI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?i=vzZQe-ru_rI:bbCxKXbTudY:-BTjWOF_DHI\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=vzZQe-ru_rI:bbCxKXbTudY:qj6IDK7rITs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=qj6IDK7rITs\" border=\"0\"><\/img><\/a>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/Techcrunch\/~4\/vzZQe-ru_rI\" height=\"1\" width=\"1\" alt=\"\"\/> <\/p>\n","protected":false},"author":5817,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[25],"tags":[59,66,26],"class_list":["post-333307","post","type-post","status-publish","format-standard","hentry","category-technology","tag-media","tag-techcrunch","tag-technology"],"_links":{"self":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/333307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/users\/5817"}],"replies":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/comments?post=333307"}],"version-history":[{"count":0,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/333307\/revisions"}],"wp:attachment":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/media?parent=333307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/categories?post=333307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/tags?post=333307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}