Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Scaling Your Mobile Back-end

Scaling Your Mobile Back-end

Whether you have one or a million visitors accessing your mobile app, they are all going to demand a great user experience regardless of what it takes for you to deliver it. This invariably means quick loads and fast response times every single time. When things go south, you just throw more hardware at the problem and increase your caches and buffers, right? Wrong. Toss in an infrastructure that resides on the cloud and now you've got a really interesting problem on your hands. I'll leave the marketecure slides at the door, this is a hands-on technical talk in which we'll deploy an application to the cloud and then turn up the heat by leveraging the right mix of elasticity and auto-scaling.

Marek Jelen

June 28, 2014
Tweet

More Decks by Marek Jelen

Other Decks in Technology

Transcript

  1. 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
  2. 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
  3. OVERVIEW • My (mobile) development history • Native development sucks

    l JavaScript to the rescue • JavaScript everywhere l “Full stack”
  4. 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
  5. “How do I use this?” Servers in the Cloud You

    must build and manage everything (OS, App Servers, DB, App, etc.) IaaS
  6. “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
  7. • 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
  8. 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
  9. Node.JS  JavaScript on the server  NPM modules 

    Reuse your front-end code  Integration with Mongoose / MongoDB
  10. MONGODB  Document-orientated  High performance  High availability 

    Easy scalability  JSON Document Store – Perfect for Titanium  Backed by 10gen  Open Source
  11. 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
  12. 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