Download - Advanced Scaling with PaaS

Transcript
Page 1: Advanced Scaling with PaaS

Advanced Scaling in the Advanced Scaling in the Cloud with PaaSCloud with PaaS

John WetherillHo Ming LiJuly 31, 2013

Page 2: Advanced Scaling with PaaS

Today’s Speakers

• John Wetherill Developer Evangelist

Ho Ming Li Cloud Engineer

Page 3: Advanced Scaling with PaaS

Topics

Recap

Automated app scaling

New Relic Integration

Performance Instrumentation

Stress tools

Page 4: Advanced Scaling with PaaS

Recent Events

Page 5: Advanced Scaling with PaaS

scale from day onescale early and often

always profile before optimize

Practices

Page 6: Advanced Scaling with PaaS

Scaling with Stackato

Page 7: Advanced Scaling with PaaS
Page 8: Advanced Scaling with PaaS

Last time: Scaling with PaaSresource limits/management

load balancing

instant app scaling

auto-scaling

clustering and role distribution

performance monitoring

log aggregation

lxc containers

Page 9: Advanced Scaling with PaaS

Today: Advanced Scaling with PaaSautomated app scaling

New Relic integration

performance instrumentation

stress tools

Page 10: Advanced Scaling with PaaS

Instant App Scaling

one-click spawn multiple instances

rapid launch by copying existing instance

adjust resource allocation too

scriptable, can be automated

can trigger “autoscaling” events

Page 11: Advanced Scaling with PaaS

Automating Scaling

Cloud Controller sits behind REST api

External apps call api in response to events or thresholds

Client can be anything that talks HTTP

Page 12: Advanced Scaling with PaaS

Automated Scaling and New Relic

Page 13: Advanced Scaling with PaaS

Demo: ab and JMeter

Page 14: Advanced Scaling with PaaS

Log Aggregation

collect all logs from all app instances

forward to aggregation service

no SPOF

logs available via web ui, command line, and REST API

log streams can be filtered and formatted

can generate json logs

Page 15: Advanced Scaling with PaaS

Demo: Logging to Loggly

Page 16: Advanced Scaling with PaaS

Thank you!Thank you!

Any questions?Any questions?

John WetherillJohn Wetherill

Ho Ming LiHo Ming Li

ActiveStateActiveState