Skip to main content

The state of Ruby on Google Cloud Platform

The state of Ruby on Google Cloud Platform




At Google Cloud Next 17 last month we announced that App Engine flexible environment is now generally available. This brings the convenience of App Engine to Rubyists running Rails, Sinatra or other Rack based web frameworks.

One question we frequently get is, "Can I run gems like nokogiri or database adapters that have C extensions on App Engine?� and the answer is yes. We tested the top 1000 Ruby libraries, a.k.a., gems, to ensure that the necessary dependencies are available. We also tested common tools like paperclip that dont build against C libraries but require them at runtime. And we know that people are using different versions of Ruby and Rails; App Engine obeys .ruby-version and we support all currently supported versions of MRI. Weve also tested the gems with Rails 3, Rails 4 and Rails 5. At Next we also announced that Postgres on Cloud SQL is in beta. All of these things should make it easier to move your Rails and Sinatra applications to App Engine. More info on using Ruby on Google Cloud Platform (GCP) is available at http://cloud.google.com/ruby.

New gems on tap

We also have three gems that have reached general availability for the following products: Stackdriver Logging, Google Cloud Datastore and Google Cloud Storage. In addition there are three gems currently in beta for Google BigQuery, Google Cloud Translation API and Google Cloud Vision API. Our philosophy when working on the gems has been to embrace the Ruby ethos that programming should be fun. We try to make our gems idiomatic and make sense to Rubyists. For example, our logging library provides a drop-in replacement for the standard Ruby logger:

require "google/cloud/logging" logging = Google::Cloud::Logging.new logger = logging.logger "my_app_log", resource, env: :production logger.info "Job started" logger.info { "Job started" } logger.debug?

With the Cloud Datastore gem, creating entities is similar to creating tables using ActiveRecord. And with Cloud Storage, you can upload files or you can upload Ruby IO Objects. Using our products should not add significant cognitive load to your development tasks. And having a philosophy of "By Rubyists for Rubyists" makes that easier to do.

RailsConf

If you want to try out some of these libraries or spin up an application on App Engine, come find us at RailsConf 2017 in Phoenix, Arizona later this month. Were proud to be a Gold sponsor again this year. Based on feedback from last year, were making our booth more interactive with codelabs, demos and of course even more stickers.

We also have three folks from the Google Ruby team giving talks. Daniel Azumas talk, "Whats my app really doing in production" will show you tools and tricks to instrument and debug misbehaving apps. Remi Taylors talk, "Google Cloud <3 Ruby," will teach you about all the different tools we have for Ruby developers. Finally, in my talk, "Syntax isnt everything: NLP for Rubyists," I use the Google Cloud Natural Language API library and some stupid Ruby tricks to introduce you to natural language processing. If youll be at RailsConf we really hope youll come say hi.

download file now

Popular posts from this blog

Ragnos1997 Low Specs Patches for low PC Download

Ragnos1997 Low Specs Patches for low PC Download Ragnos1997 Low Specs Patches for Low PC Full Download "Let your system breathe, and enjoy even the latest games on your low end hardware. Only with Low Specs Experience�" Which games are affected ? ALAN WAKE ALAN WAKE�S AMERICAN NIGHTMARE ALIEN: ISOLATION ALIEN: COLONIAL MARINES 7 DAYS TO DIE AMERICAN TRUCK SIMULATOR ANNO 2205 ARMA III ASSASSIN�S CREED ASSASSIN�S CREED II ASSASSIN�S CREED BROTHERHOOD ASSASSIN�S CREED REVELATIONS ASSASSIN�S CREED III ASSASSIN�S CREED III LIBERATION HD ASSASSIN�S CREED IV BLACK FLAG ASSASSIN�S CREED UNITY ASSASSIN�S CREED ROGUE ASSASSIN�S CREED SYNDICATE BATMAN ARKHAM ORIGINS BATMAN ARKHAM ORIGINS BATTLEFIELD BAD COMPANY 2 BATTLEFIELD 3 BATTLEFIELD 4 BATTLEFIELD HARDLINE BATTLEFIELD 1 BIOSHOCK INFINITE BORDERLANDS BORDERLANDS 2 BORDERLANDS THE PRE-SEQUEL CALL OF DUTY BLACK OPS CALL OF DUTY BLACK OPS II CALL OF DUTY BLACK OPS III CALL OF DUTY GHOSTS CALL OF DUTY ADVANCED WARFARE CALL OF DUTY INFIN...

REPOST HAZE Hazecolor Dia 1971 German Hard Psych Rock

REPOST HAZE Hazecolor Dia 1971 German Hard Psych Rock BEAUTIFUL ALBUM!!! GREAT SOUND HARD PSYCH ROCK WHIT FLUTE SOLOS!!! HIGHLY RECOMENDED!!! UMA MANEIRA DE ENCONTRAR O PARA�SO E FUMAR O SEU HAXIXE!! ASSIM ERA DEFINIDO � �POCA O SOM DO HAZE!! GRANDE SOM HARD PSYCH ROCK COM PITADAS DO BLUES, SOLOS DE FLAUTA QUE N�O SE SABE QUAL INTEGRANTE TOCA, VISTO QUE N�O H� ESTA INFORMA��O NA CAPA E NEM NA HIST�RIA DA BANDA!!! O CERTO � QUE � UM SONZA�O ALTAMENTE RECOMENDADO!!!   The sole album released by Haze featured another of those extraordinary artwork sleeves designed by Walter Seyffer of Nine Days Wonder fame. It was made to look exactly like a slide picture, complete with die-cut cover and an attached transparency Picture center of the group Haze on both its front and back covers. What you get here is a photo reproduction of that artwork. Hazecolor-Dia was a Hauke & Dierks production, recorded during April 1971 at the Clerks Studio. All five tracks were written by Dietmar Low. Slow,...