Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How to use an Internet sized computer
Search
Ben Firshman
June 08, 2015
Technology
0
590
How to use an Internet sized computer
Ben Firshman
June 08, 2015
Tweet
Share
More Decks by Ben Firshman
See All by Ben Firshman
Building serverless apps with Docker
bfirsh
0
450
Docker Compose: More than just development environment
bfirsh
2
770
New things we're working on at Docker
bfirsh
2
1k
The Future of Single Page Apps – LNUG Feb 2013
bfirsh
2
750
Alternative Views
bfirsh
1
140
Other Decks in Technology
See All in Technology
Terraform Stacks入門 #HashiTalks
msato
0
360
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
190
Platform Engineering for Software Developers and Architects
syntasso
1
530
SDNという名のデータプレーンプログラミングの歴史
ebiken
PRO
2
160
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.6k
DynamoDB でスロットリングが発生したとき_大盛りver/when_throttling_occurs_in_dynamodb_long
emiki
1
460
安心してください、日本語使えますよ―Ubuntu日本語Remix提供休止に寄せて― 2024-11-17
nobutomurata
1
1k
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
440
アジャイルチームがらしさを発揮するための目標づくり / Making the goal and enabling the team
kakehashi
3
160
Storybook との上手な向き合い方を考える
re_taro
5
1.4k
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.8k
開発生産性を上げながらビジネスも30倍成長させてきたチームの姿
kamina_zzz
2
1.7k
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
65
11k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
120
Embracing the Ebb and Flow
colly
84
4.5k
A designer walks into a library…
pauljervisheath
204
24k
Designing for humans not robots
tammielis
250
25k
A better future with KSS
kneath
238
17k
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
Code Review Best Practice
trishagee
64
17k
Side Projects
sachag
452
42k
How STYLIGHT went responsive
nonsquared
95
5.2k
Transcript
None
None
None
None
No More Servers
Big Computer
Containers
None
Cloud Computing
Containers + Cloud Computing
= Internet Sized Computer
How to use an Internet Sized Computer
Internet Sized Computers Suck
• Big chunks of your computer might disappear for no
reason • Your data might disappear • Your processes sometimes might not be able to communicate with each other
• Some bits of your computer might be on the
other side of the world • Some people might be man-in-the-middling bits of your computer
How to run a process
$ echo hello world
fork-exec
$ docker run ubuntu echo hello world
POST /containers/create HTTP/1.1 { "Image": “ubuntu", "Cmd": ["echo", "hello", “world"]
}
$ docker -H anotherhost.oscorp.com \ run ubuntu echo hello world
docker client | swarm / \ node1 node2 | |
docker engine docker engine
$ docker -H myswarm.oscorp.com \ run ubuntu echo hello world
Docker in the Cloud • IBM Bluemix Containers • Joyent
SmartDataCenter
What can you do with it?
Find things that assume computers are slow to start and
can’t be thrown away
$ docker run myapp ./test.sh
$ ls tests/**/*_test.py | \ parallel docker run myapp ./test.sh
$ ls *.mp4 | parallel “cat {} | docker run
jrottenberg/ffmpeg ... > out/{}”
>>> import dockerrun >>> client = dockerrun.from_env() >>> client.run("ubuntu", "echo
hello world") 'hello world\n'
>>> client.run(“myapp", "tasks/reticulate-splines", wait=False) Infinite task queues
How to run an application • Tooling is still in
its infancy • Look into Compose, Kubernetes, Mesos
The future • Networking and storage • Scaling down
What if it’s only a second to spin a machine
up or down? We can start to have machine per web request, or machine per social interaction (IM, tweet or hug). – Timothy Fitz, 2009 http://timothyfitz.com/2009/02/14/cloud-elasticity/
Credits: https://www.flickr.com/photos/taylar/4616771574/ Thanks! @bfirsh
[email protected]