Slide 1

Slide 1 text

OPENWEST 2013 PRESENTED BY MAREK JELEN Scaling your mobile backend

Slide 2

Slide 2 text

AGENDA Introduction Cloud Demo Mobile

Slide 3

Slide 3 text

WHO AM I? • Marek Jelen - @marek_jelen • Senior Manager, Cloud, OpenShift – Red Hat • I still code, I love to code • Java / Ruby / Mobile /MongoDB / MySQL / PostgreSQL • Open source projects

Slide 4

Slide 4 text

WHO ARE YOU?

Slide 5

Slide 5 text

ASSUMPTIONS • You care about writing mobile applications • You want to learn how to scale your applications • You want to learn about the current cloud scape

Slide 6

Slide 6 text

OVERVIEW • My (mobile) development history • Native development sucks l JavaScript to the rescue • JavaScript everywhere l “Full stack”

Slide 7

Slide 7 text

PHP and CLOUD What is cloud computing?

Slide 8

Slide 8 text

LEVEL SET • Cloud computing will • Feed all the children • Shelter all the homeless • Create world peace • Save us from the zombie apocalypse • Automagically correct your terrible photos

Slide 9

Slide 9 text

“How do I use this?” Servers in the Cloud You must build and manage everything (OS, App Servers, DB, App, etc.) IaaS

Slide 10

Slide 10 text

“I’m not sure this does what I need.” You are restricted to the features of the 3rd Party application Someone else’s app in the Cloud (CRM, etc.) SaaS

Slide 11

Slide 11 text

• Quickly build the Application that YOU need for • Your Group, your Enterprise, your next great idea! • Big data, mobile, social • You code the application, We run it for you • Leverage the ease, scale and power of the Cloud Code Deploy Enjoy PaaS

Slide 12

Slide 12 text

EVERYONE GETS ALONG PaaS creates a peaceful environment for DEV and OPS

Slide 13

Slide 13 text

OpenShift OPENSHIFT OVERVIEW

Slide 14

Slide 14 text

origin Public Cloud Service On- premise or Private Cloud Software Open Source Project FLAVORS OF OPENSHIFT

Slide 15

Slide 15 text

FAST DEPLOYMENTS rhc app create my_app_name my_lang my_database rhc app create mobilebackend nodejs-0.10 mongodb-2.4

Slide 16

Slide 16 text

LANGUAGES?

Slide 17

Slide 17 text

WORK HOW YOU WANT  Eclipse plug-ins, Cloud-based IDEs, Dashboard  REST API  Command-line tools  Shell access  Support Git  Pre/post deploy, pre/post install hooks  Jenkins and Maven built-in  Runs on AWS – leverage their ecosystem  Pluggable cartridges for partners & devs

Slide 18

Slide 18 text

Is OpenShift FREE?

Slide 19

Slide 19 text

Vertical Scaling Horizontal Scaling OpenShift is SCALABLE

Slide 20

Slide 20 text

PHP ROCKS ON OPENSHIFT Mobile Backends ROCK on OpenShift

Slide 21

Slide 21 text

FUTURE

Slide 22

Slide 22 text

THE SAMPLE APP

Slide 23

Slide 23 text

Node.JS  JavaScript on the server  NPM modules  Reuse your front-end code  Integration with Mongoose / MongoDB

Slide 24

Slide 24 text

MONGODB  Document-orientated  High performance  High availability  Easy scalability  JSON Document Store – Perfect for Titanium  Backed by 10gen  Open Source

Slide 25

Slide 25 text

TITANIUM  Eclipse-based IDE  Integrated with OpenShift  Build, test and deploy mobile apps from a single IDE  Debugger  I love it, but I hate it

Slide 26

Slide 26 text

BORING........ Source code: github.com/marekjelen

Slide 27

Slide 27 text

Got Questions? We Have Answers!  IRC: #openshift @ FreeNode  Forums: http://www.redhat.com/openshift/forums  Email: [email protected]  Twitter: @openshift  Twitter: @marek_jelen  Source code: github.com/marekjelen

Slide 28

Slide 28 text

DONE!