Upload
olivier-garcia
View
113
Download
1
Tags:
Embed Size (px)
Citation preview
Hi !I am Olivier Garcia
I am here because I’ve been through that before.
You can find me at:@0livier
SOMETIMES, it’s better to
○ Delegate hardware & platform management
○ Focus on code & customers, not technical scaling
PaaSYou’re given a repo
You push your code
e.g. Heroku, Azure
IaaSYou’re given a server
You install a Linux
e.g. OVH, AWS
Comparing /.+ as a Service/
SaaSYou’re given software
You use it
e.g. Gmail, Salesforce
Languages○ PHP○ JS○ Go○ Python○ Java/Scale○ Closureand more !
Runs most of the OSS tech stack
DB○ MySQL○ PostgreSQL○ MongoDB○ Redis○ Solr○ Graphiteand more !
○ Everything can be done in CLI & automated
Insanely easy to work with
○ Great documentation
○ Huge list of add-ons
Load balancing
Requests are load balanced on all nodes, no custom rules can be made
When it’s is not the right solution
Custom components
It may take some time/skills to add special components
eg. mod_deflate for Apache
Size
Your app must hold in 100MB
Caching
You may need Varnish and a CDN on top of your app
When it’s is not the right solution
No custom hardware
The only way to get more RAM or CPU is to buy new instances
Price
With a lot of traffic or processing, the hosting will get expensive quickly
Small projects
○ CPU: 8 cores○ RAM: 6 Go○ DB: 64 GB○ Custom SSL Domain ○ Support by mail : 1+ day
770 $
Setup project
$ mkdir -p ~/Code/heroku-demo/web
$ cd ~/Code/heroku-demo
$ git init .
$ heroku create php-10m-demo
CREDITS
Special thanks to all the people who made and released these awesome resources:○ Various GIF from reactiongifs.com and gif.lol.cat○ Presentation template by SlidesCarnival○ Photographs by Unsplash