Skip to content

igorbernstein2/cloud-bigtable-examples

 
 

Repository files navigation

Google Cloud Bigtable examples

Travis CI status Stack Overflow

Bigger than a data warehouse, fast enough for real-time access, and less expensive than running virtual machines. The world-renowned database that powers Google is now available to you worldwide.

Overview

Google Cloud Bigtable offers you a fast, fully managed, almost infinitely scalable NoSQL database service that's ideal for web, mobile, and IoT applications requiring terabytes to petabytes of data. Unlike comparable market offerings, Cloud Bigtable doesn't require you to sacrifice speed, scale, or cost efficiency when your applications grow. The Bigtable service that Cloud Bigtable relies upon has been battle-tested at Google for more than 10 years—it's the database driving major applications such as Search, Analytics, Maps and Gmail.

Quickstart

Quickstart/HBase - Create a Cloud Bigtable Cluster and the hbase shell from within a docker container on your local machine

Java

  • Simple-CLI - A simple command line interface for Cloud Bigtable that shows you how to do basic operations with the native HBase API
  • Hello World - A minimal application that demonstrates using the native HBase API to create a temporary table, write some rows, read them back and clean up
  • Import HBase Sequence files Import HBase sequence files directly to Cloud Bigtable using Dataflow.
  • Dataproc Wordcount using Map/Reduce - How to load data to Cloud Bigtable using Dataproc on GCE
  • GAE Flexible-Hello World - Accessing Cloud Bigtable from App Engine Flexible / JSON Upload / Download

Dataflow

  • Connector-Examples - Using the cloud dataflow connector for Bigtable, do write Hello World to two rows, Use Cloud Pub / Sub to count Shakespeare, and count the number of rows in a Table.
  • Pardo-HelloWorld - example of using Cloud Dataflow without the connector.
  • dataflow-coinbase - An end to end example that takes the last four hours of Bitcoin data and sends it to Google Cloud Dataflow, which process it and sends it to Google Cloud Bigtable. Then there is an App Engine Flexible application that displays the data in an angularJS app.

Go

  • cbt doc Basic command line interactions with Cloud Bigtable - A really great place to start learning the Go Client.
  • helloworld - Basic Hello world example application demonstrating how to read and write to a Cloud Bigtable instance.
  • usercounter - Accessing Cloud Bigtable from App Engine Flexible
  • search - Create and search a Cloud Bigtable.

Python

  • Hello World A minimal application that demonstrates using the Googe Cloud Client libraries to create a temporary table, write some rows, read them back and clean up.
  • Hello World (Happybase) A minimal application that demonstrates using the Happybase API create a temporary table, write some rows, read them back and clean up.

Questions and discussions

If you have questions or run into issues with Google Cloud Bigtable or the client libraries, you can use any of the following forums:

You can also subscribe to google-cloud-bigtable-announce@ list to receive infrequent product and client library announcements.

Contributing changes

See CONTRIBUTING.md for more information on how to contribute to this project.

License

Apache 2.0; see LICENSE for details.

About

Examples of how to use Cloud Bigtable both with GCE map/reduce as well as stand alone applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 64.2%
  • Shell 15.3%
  • Python 13.3%
  • HTML 3.2%
  • Makefile 2.5%
  • JavaScript 1.5%