Uber's Michelangelo vs. Netflix's Metaflow

  Uber's Michelangelo vs. Netflix's Metaflow Michelangelo Pain point Without michelangelo, each team at uber that uses ML (that’s all of them - every interaction with the ride or eats app involves ML) would need to build their own data pipelines, feature stores, training clusters, model storage, etc.  It would take each team copious amounts of time to maintain and improve their systems, and common patterns/best practices would be hard to learn.  In addition, the highest priority use cases (business critical, e.g. rider/driver matching) would themselves need to ensure they have enough compute/storage/engineering resources to operate (outages, scale peaks, etc.), which would results in organizational complexity and constant prioritization battles between managers/directors/etc. Solution Michelangelo provides a single platform that makes the most common and most business critical ML use cases simple and intuitive for builders to use, while still allowing self-serve extensibi...

Deploying a Rails 3.1.1 app to heroku using Ruby 1.9.3 and Ubuntu 11.10

Hello friends. :P

I (FINALLY) got a Rails app working on heroku!  But it took some doing - even the basic template rails app wouldn't work on heroku!  And the getting started walkthrough on the heroku website didn't tell me what to do about the errors.  I'm still not sure if it's my OS that makes this trickier than advertised, or if it's the version of Ruby or Rails that I'm using...or maybe it's heroku's problem?  Oh well.  But here's my setup, and if you've got the same then this tutorial should work for you.  This tutorial assumes you've already setup your heroku account.

Operating System: Ubuntu 11.10
Ruby version : 1.9.3p0
Rails version : 3.1.1
Source control : Git

 First off, if you haven't already, generate a stock app, and enter its directory :

>rails new my_app
>cd my_app

Next, initialize a new Git repository, and add everything to it :

>git init
>git add .
>git commit -am "Initial commit."

now, open up the file called 'Gemfile' in a text editor, and add the following code to the very top of the file:

if RUBY_VERSION =~ /1.9/
   Encoding.default_external = Encoding::UTF_8
   Encoding.default_internal = Encoding::UTF_8
 end

and then add the following code just underneath the word 'end' after the 'group :assets do' section :

group :production do
  gem 'pg'
  gem 'execjs'
  gem 'therubyracer'
end

now save the file, commit it to git, create a heroku app, push it up (and don't forget to run 'heroku rake db:migrate' if you have a database running in your app already) :

>git commit -am "updated Gemfile to work on heroku."
>heroku create
>git push heroku master

Now navigate to the url that heroku gives you, and your app should (finally) be running!  Congrats.

Comments

Popular posts from this blog

ChatGPT - How Long Till They Realize I’m a Robot?

Architectural Characteristics - Transcending Requirements

Laws of Software Architecture