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
570
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
430
Docker Compose: More than just development environment
bfirsh
2
760
New things we're working on at Docker
bfirsh
2
1k
The Future of Single Page Apps – LNUG Feb 2013
bfirsh
2
740
Alternative Views
bfirsh
1
140
Other Decks in Technology
See All in Technology
Google Cloud の AI を支える裏側のインフラを垣間見る!
maroon1st
0
190
Data and AI Governance: Existing Challenges and Emerging Trends
scotthsieh825
0
150
SPI原点回帰論:事業課題とFour Keysの結節点を見出す実践的ソフトウェアプロセス改善 / DevOpsDays Tokyo 2024
visional_engineering_and_design
4
1.5k
Tebiki株式会社 エンジニア採用資料
tebiki
0
4.1k
なぜ NOT A HOTEL が Web3 に取り組むのか - NOT A HOTEL TECH TALK
ynunokawa
0
160
Databricks における 『MLOps』
databricksjapan
2
140
OpenTelemetry を使ったトレースエグザンプラーの活用 / otel-trace-exemplar
k6s4i53rx
2
640
少数チームで挑む: SwiftUI, TCA, KMPを用いた 新規動画配信アプリ 「ABEMA Live」の開発について
tomu28
0
540
SREとその組織類型
tatsuo48
8
1.5k
PHPカンファレンス小田原2024
ysknsid25
3
660
クラウドサインにおけるプロダクトマネージャーの役割と開発プロセス / 20240410_cloudsign-PdM
bengo4com
1
680
スタートアップの技術顧問を3年間続けて発生した事と気付き
biwakonbu
0
160
Featured
See All Featured
How GitHub Uses GitHub to Build GitHub
holman
468
290k
GraphQLの誤解/rethinking-graphql
sonatard
50
9.2k
A Philosophy of Restraint
colly
196
16k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
Bootstrapping a Software Product
garrettdimon
PRO
301
110k
How to train your dragon (web standard)
notwaldorf
72
5.1k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
356
22k
Building Applications with DynamoDB
mza
88
5.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
273
13k
Imperfection Machines: The Place of Print at Facebook
scottboms
258
12k
VelocityConf: Rendering Performance Case Studies
addyosmani
320
23k
The Illustrated Children's Guide to Kubernetes
chrisshort
29
46k
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]