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
610
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
760
Alternative Views
bfirsh
1
150
Other Decks in Technology
See All in Technology
成長し続けるアプリのためのテストと設計の関係、そして意思決定の記録。
sansantech
PRO
0
140
microCMSではじめるAIライティング
himaratsu
0
110
Four Keysから始める信頼性の改善 - SRE NEXT 2025
ozakikota
0
130
Operating Operator
shhnjk
1
640
60以上のプロダクトを持つ組織における開発者体験向上への取り組み - チームAPIとBackstageで構築する組織の可視化基盤 - / sre next 2025 Efforts to Improve Developer Experience in an Organization with Over 60 Products
vtryo
2
630
アクセスピークを制するオートスケール再設計: 障害を乗り越えKEDAで実現したリソース管理の最適化
myamashii
1
250
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
54
22k
shake-upを科学する
rsakata
7
900
VGGT: Visual Geometry Grounded Transformer
peisuke
1
540
第4回Snowflake 金融ユーザー会 Snowflake summit recap
tamaoki
1
330
Rethinking Incident Response: Context-Aware AI in Practice
rrreeeyyy
1
230
Reach American Airlines®️ Instantly: 19 Calling Methods for Fast Support in the USA
flyamerican
1
180
Featured
See All Featured
Side Projects
sachag
455
42k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
GitHub's CSS Performance
jonrohan
1031
460k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Making Projects Easy
brettharned
116
6.3k
Bash Introduction
62gerente
613
210k
Embracing the Ebb and Flow
colly
86
4.7k
A better future with KSS
kneath
238
17k
Site-Speed That Sticks
csswizardry
10
690
Building Adaptive Systems
keathley
43
2.7k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
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 bfirsh@docker.com