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
440
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
750
Alternative Views
bfirsh
1
140
Other Decks in Technology
See All in Technology
Oracle Autonomous Database:サービス概要のご紹介
oracle4engineer
PRO
1
7.1k
Swift Testingのconfirmationを コードリーディング/Dive into Swift Testing confirmation
laprasdrum
2
260
リアルお遍路+SORACOM IoT
ozk009
1
140
プログラム検証入門
riru
6
870
とあるOSSを継続可能にするための取り組みについて / OSS Refactoring Process
bun913
1
210
サーバレスでモバイルアプリ開発! NTTコム「ビジネスdアプリ」のアーキテクチャ / The architecture of business d app
nttcom
12
240
DuckDB雑紹介(1.1対応版)@DuckDB座談会
ktz
6
1.4k
自作Cコンパイラ 8時間の奮闘
soukouki
0
850
プロダクトエンジニアを支えるための開発生産性向上施策
tsukakei
0
140
Functional TypeScript
naoya
11
4.8k
不動産tech Product Night#2_AIことはじめ_GA橋本
takehikohashimoto
0
190
開発生産性を始める前に開発チームができること / optim-improve-development-productivity.pdf
optim
0
110
Featured
See All Featured
Making Projects Easy
brettharned
113
5.8k
Scaling GitHub
holman
458
140k
How to Think Like a Performance Engineer
csswizardry
16
960
Large-scale JavaScript Application Architecture
addyosmani
508
110k
Intergalactic Javascript Robots from Outer Space
tanoku
268
26k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
36
2.1k
4 Signs Your Business is Dying
shpigford
179
21k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
25
3.9k
Build your cross-platform service in a week with App Engine
jlugia
228
18k
Building Better People: How to give real-time feedback that sticks.
wjessup
359
19k
Optimising Largest Contentful Paint
csswizardry
31
2.8k
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]