Google Cloud Platform - Introduction to Cloud Spanner
Last Updated :
08 Jan, 2021
The ability for your business to tackle the unpredictable is critical, whether tackling unexpected shifts in supply chains or surges in customer demand. At the core, you need a database that can back your business, power next-gen applications, and leaves all of the management to somebody else without breaking the bank. So you don't have to worry about quick shifts any longer.
We demand a lot of our databases, and our databases demand a lot of us. Your database can be a powerful engine or a management headache. Traditionally, databases tend to be fragile, expensive, and tough to maintain. Without one that can scale without limits, provide data consistency, and eliminate management overhead, you're faced with an inability to scale with new business needs, data inconsistencies that can risk losing your customers' trust, and cost inefficiencies, since IT teams are tied up maintaining those systems instead of innovating. Your developers wind up implementing their own complicated database sharding or partitioning strategy, which leads to over-provisioning of resources and ballooning costs, not to mention the cost of managing backups, scheduling maintenance windows, meeting performance requirements, and securing the entire thing.
You end up having to pick between scale, consistency, or management-free. You can't have it all unless you use Google Cloud Spanner, a fully-managed relational database service that scales horizontally, is strongly consistent and uses SQL. Spanner offers an industry-leading 99.999% availability with automatic software updates and instant optimization. You get zero downtime and no maintenance windows. It's used to power workloads large and small, from applications for just a few to massive apps with global users. Spanner is simple to use and manage, so you can build applications that transform your business while lowering your Total Cost of Ownership(TCO).
Let's look into it in detail. First off, Spanner offers scale. For relational databases, significant effort is required to grow a cluster horizontally to support additional capacity, and setting up data replication in different parts of the world has never been easy. You're left with an extremely complex architecture requiring a specialized team to maintain. With Spanner, you don't need to shard or replicate data nor build intricate frameworks to scale up quickly. It vastly simplifies your architecture and operations because it automatically distributes data and automatically handles replicas, sharding, and transaction processing across regions and continents so you can quickly scale to meet any usage pattern, deliver data closest to your end-users with the lowest possible latency.
Consistency:
Traditional databases force users to choose between performance and consistency. With eventual consistency, you risk serving stale data to customers, which might not be acceptable in time-sensitive situations like retail, finance, and gaming. For example, showing an item in stock online when in reality, it may be zero. This can lead to a bad customer experience and loss of trust.
Spanner uses True Time, which leverages a fully redundant system of atomic clocks. That means Spanner applies a timestamp based on a globally agreed-upon clock to every transaction on commit. Transactions in different regions are executed sequentially on the commit timestamp.
High Availability:
Spanner offers up to an industry-leading 99.999% availability, so you're protected from failures. Spanner provides high availability via a synchronous replication between replicas in independent zones. It uses a Paxos base replication scheme in which rights are committed only when a majority quorum is achieved.
You can choose between regional and multi-regional replicas that span continents across the globe. Unlike typical database services, Spanner does not need any maintenance windows or downtime. Spanner also offers online schema changes, meaning easy schema updates, no downtime, no disruption for your users.
Spanner is enterprise-proven, secure, and battle-tested at Google. With features like manage backup and restore and open source emulator for local testing, a variety of client libraries and performance tuning tools, you can achieve business continuity, lower development your developers to get started right away.
Secure:
Data-layer encryption, IAM integration for access and controls, and comprehensive audit logging give you enterprise-grade security. Spanner's been used in industries like gaming for user-profiles and real-time play data, fintech for account data and ledgers, healthcare for medical records and patient data, retail for supply chain and inventory management, tech for real-time decision making and performance data, and media for digital rights management and catalog metadata.
Spanner is the enterprise database giving you the best of relational and non-relational features with transactional consistency, SQL support, automatic sharding and replication, and nearly unlimited scale.
Similar Reads
Introduction to Google Cloud Platform
Google Cloud Platform (GCP) is an initiative by Google to provide cloud computing services to customers. These services run on the same infrastructure and platform on which Google services such as Gmail, YouTube, etc run. GCP was launched on April 7, 2008, and the complete set of services and the pl
5 min read
Cloud Storage in Google Cloud Platform (GCP)
Google Cloud Storage is a secure, scalable, and high-performance storage solution that lets businesses store, manage, and retrieve data effortlessly. Itâs designed for big data analytics, media storage, backups, and disaster recovery, making it a go-to option for enterprises looking for cost-effecti
8 min read
Google Cloud Platform - Cloud Storage
Google Cloud Storage is unified object storage. In reality, the GCS is the place where you can store and serve static binary assets either for your app to use or directly to your users. But as straightforward, as it sounds, there is a lot going under the hood. Google Cloud Storage The GCP has Bucket
2 min read
What is Google Cloud Platform (GCP)?
Google Cloud Platform (GCP) is a cloud computing service by Google that helps businesses, developers, and enterprises run applications, store data, and manage workloads on a secure, scalable, and high-performance infrastructure. Whether you're building a website, handling large datasets, or running
15+ min read
Introduction to Google Cloud Trace and Google Cloud Debugger
Pre-requisite: Google Cloud Platform Google Cloud Platform (GCP) is a cloud computing platform offered by Google, which provides a wide range of cloud-based services for computing, storage, networking, data analytics, machine learning, and more. It offers a flexible, scalable, and reliable infrastru
12 min read
Introduction to Oracle Cloud
The cloud computing services provided by the Oracle Corporation are popular as Oracle Cloud. The Oracle Cloud provides storage services, servers, networks, etc that are delivered to the customers using a global network consisting of a number of data centers that are managed by the Oracle Corporation
5 min read
Google Cloud Platform - Compute Services
To create and run a Virtual Machine in the Google Cloud Platform, one needs Compute Services to perform certain operations. Google Cloud Platformâs Compute Engine provides a variety of computing options according to usersâ needs. Whether youâre looking for virtual machines, serverless or a managed p
8 min read
Google Cloud Platform - Creating a Cloud Monitor
Cloud monitoring is the process of reviewing and managing the operational workflow and processes within a cloud infrastructure or asset. These techniques confirm the performance of websites, servers, applications, and other cloud infrastructure. The following steps create the monitor in the Google c
5 min read
Google Cloud Platform - Overview of Data Migration Service
In this article, we will explore the Google cloud platform's Database Migration Service or DMS. We are also going to walk through a quick, simple migration to Cloud SQL using it. Database migration service makes it fast and easy to move your MySQL or PostgreSQL database to our managed CloudSQL servi
4 min read
Google Cloud Platform Project Limit | Complete Tutorial
If we are talking about cloud technologies or cloud providers, then there is a common name, which is Google Cloud Platform. Google Cloud Platform, or GCP, provides various cloud services and computing resources to its users to host applications on the cloud or use databases, and storage on the cloud
6 min read