Scale or Fail


Sign up code: utah

Presented by:

Steven Citron-Pousty

@TheSteve0 on Twitter, IRC, and Github

Agenda

  1. Learn a bit about PaaS
  2. A little scaling
  3. See a demo

Assumptions

  1. You write web code or are a devops person
  2. You can use command line, git, and ssh

But I know EC2...

One Source to Bind Them All


 

 

 

But wait - there's more

  1. Free! No time limit
  2. 3 gears (like servers) - each 512 Mb RAM, 1 Gb disk
  3. Auto-scaling
  4. Simple pricing
  5. We are coming out of developer preview this summer

Scaling - what is web scale?

Two types of scaling

  1. Vertical - bigger, stronger, faster
  2. Horizontal - swarm baby swarm

What you need for horizontal

  • Commodity "hardware"
  • Ease of creation and deletion
  • Software built to grow sideways

OpenShift Architecture

OpenShift Scaling

Let's DO IT!!!

Today

  • Take a github repo I made for a single app
  • Use it in a scaling app on OpenShift
  • Slam it with a load tester and watch it scale up

Scaling hints

  • Avoid sessions
  • Loosely couple your pieces
  • Design for retries and small pieces failing
  • Use the architecture of the web for you
  • Caching is your friend

Let's wrap it up

  1. Openshift makes life great for you
  2. Scaling can be easy if done from the beginning
  3. Free!

Come hang out with us:
#openshift on freenode irc
OR
users@lists.openshift.redhat.com