Using Google Cloud Infrastructure for twindly

41
Google Cloud Infrastructure for twindly ASTRID PARAMITA MOCHTARRAM I. ABIYASA SUHARDI Saturday, November 22, 14

Transcript of Using Google Cloud Infrastructure for twindly

Page 1: Using Google Cloud Infrastructure for twindly

Google Cloud Infrastructurefor

twindly

ASTRID PARAMITA MOCHTARRAMI. ABIYASA SUHARDI

Saturday, November 22, 14

Page 2: Using Google Cloud Infrastructure for twindly

BEFORE WE START

Saturday, November 22, 14

Page 3: Using Google Cloud Infrastructure for twindly

WHO ARE YOU?

WHY ARE YOU HERE?

Saturday, November 22, 14

Page 4: Using Google Cloud Infrastructure for twindly

THE DREAM

Saturday, November 22, 14

Page 5: Using Google Cloud Infrastructure for twindly

twindly is a web application for beauty geeks

to find their beauty twins anddiscover products and looks

Saturday, November 22, 14

Page 6: Using Google Cloud Infrastructure for twindly

FINDING YOUR BEAUTY TWINS

Photography by Gianni Cumbo (http://www.flickr.com/photos/gianni_cumbo)

Saturday, November 22, 14

Page 7: Using Google Cloud Infrastructure for twindly

SOCIAL:connects geek to geek

Saturday, November 22, 14

Page 8: Using Google Cloud Infrastructure for twindly

geek to productsSaturday, November 22, 14

Page 9: Using Google Cloud Infrastructure for twindly

RECOMMENDATIONSaturday, November 22, 14

Page 10: Using Google Cloud Infrastructure for twindly

WHICH ONE SUITS YOU BEST?

Saturday, November 22, 14

Page 11: Using Google Cloud Infrastructure for twindly

WHO ARE WE?

Saturday, November 22, 14

Page 12: Using Google Cloud Infrastructure for twindly

ASTRIDFounder + Dev 1

ABICo-Founder + Dev 2

Saturday, November 22, 14

Page 13: Using Google Cloud Infrastructure for twindly

Saturday, November 22, 14

Page 14: Using Google Cloud Infrastructure for twindly

TAKING OFF

Saturday, November 22, 14

Page 15: Using Google Cloud Infrastructure for twindly

PRE-CLOUD

Saturday, November 22, 14

Page 16: Using Google Cloud Infrastructure for twindly

Pre-Cloud > LAMP Stack

Saturday, November 22, 14

Page 17: Using Google Cloud Infrastructure for twindly

(Hopefully) quicker to prototype

Familiar stack - LAMP(+)

Pre-Cloud > LAMP Stack

Saturday, November 22, 14

Page 18: Using Google Cloud Infrastructure for twindly

Recommendation implementation

Problems in scaling(-)

Pre-Cloud > LAMP Stack

Saturday, November 22, 14

Page 19: Using Google Cloud Infrastructure for twindly

Maybe Node.JS?

• (+) Comfortable in node.js

• (-) HeroKu didn’t support Asian region

Saturday, November 22, 14

Page 20: Using Google Cloud Infrastructure for twindly

GOOGLE CLOUD

Saturday, November 22, 14

Page 21: Using Google Cloud Infrastructure for twindly

NO DEVOPS NO PROBLEM?

Saturday, November 22, 14

Page 22: Using Google Cloud Infrastructure for twindly

Google AppEngine

• App Engine (Platform as a Service)

• Supports Java, PHP, Python, Go

• Go !!

Saturday, November 22, 14

Page 23: Using Google Cloud Infrastructure for twindly

AppEngine + Go

• Backend: AppEngine, Go, BeeGo

• Frontend: AngularJS

• Build tools: Grunt, LESS, Twitter Bootstrap

• Database: Google Datastore

Saturday, November 22, 14

Page 24: Using Google Cloud Infrastructure for twindly

Saturday, November 22, 14

Page 25: Using Google Cloud Infrastructure for twindly

Google Startup Package

• For Small Startups

• $20K credits for 1 year for Google Cloud Platform

• Exploring Google Compute Engine

Saturday, November 22, 14

Page 26: Using Google Cloud Infrastructure for twindly

Google Compute Engine + Node.JS

• Go is really nice but we're more productive in Node.js

• Full stack development using JavaScript, sharing codes between server, frontend client, and build tools.

• More libraries (web server, database drivers, frontend)

Saturday, November 22, 14

Page 27: Using Google Cloud Infrastructure for twindly

Google Compute Engine + Node.JS

• (+) More control: install anything, click-to-deploy

• (-) Setting up things manually: scaling, firewall, deployment

• Back then, we didn’t have Managed VM

Saturday, November 22, 14

Page 28: Using Google Cloud Infrastructure for twindly

Current stack

• Backend: Google Compute Engine, Node.js, KrakenJS

• Frontend: Backbone, Marionette

• Build tools: Grunt, LESS, Twitter Bootstrap, Browserify

• Google Datastore and Google Cloud Storage

• GraphDB through Google Compute Engine

Saturday, November 22, 14

Page 29: Using Google Cloud Infrastructure for twindly

Saturday, November 22, 14

Page 30: Using Google Cloud Infrastructure for twindly

RECOMMENDATIONSaturday, November 22, 14

Page 31: Using Google Cloud Infrastructure for twindly

Recommendation ≈ Big Data?

Saturday, November 22, 14

Page 32: Using Google Cloud Infrastructure for twindly

•Google BigQuery: not suitable for twindly’s use case

•Google Prediction API: maybe suitable, for later date

•Apache Mahout: maybe suitable, for later date

Saturday, November 22, 14

Page 33: Using Google Cloud Infrastructure for twindly

Saturday, November 22, 14

Page 34: Using Google Cloud Infrastructure for twindly

SQLNoSQL

GraphDB+ Gremlin

Saturday, November 22, 14

Page 35: Using Google Cloud Infrastructure for twindly

GraphDB : OrientDB | Neo4j

•Limited available library

•Back to node.js

•OrientDB + Docker on Google Compute Engine

Saturday, November 22, 14

Page 36: Using Google Cloud Infrastructure for twindly

CURRENT TWINDLY STACK

Saturday, November 22, 14

Page 37: Using Google Cloud Infrastructure for twindly

Saturday, November 22, 14

Page 38: Using Google Cloud Infrastructure for twindly

WHAT’S NEXT?Saturday, November 22, 14

Page 39: Using Google Cloud Infrastructure for twindly

•Polymer

•Managed VM and Node.js

•Google Container Engine

Saturday, November 22, 14

Page 40: Using Google Cloud Infrastructure for twindly

QUESTIONS

?

Saturday, November 22, 14

Page 41: Using Google Cloud Infrastructure for twindly

Stay in touch :)http://www.twindly.com

Astrid Paramita Mochtarram | @astridparamita

I. Abiyasa Suhardi | @abiyasasuhardi

Saturday, November 22, 14