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
try! Swift Tokyo 2018: Best Docker Container in...
Search
Takeshi Ihara
March 01, 2018
Programming
1
1.3k
try! Swift Tokyo 2018: Best Docker Container in Swift
https://www.tryswift.co/events/2018/tokyo/en/#docker
Takeshi Ihara
March 01, 2018
Tweet
Share
More Decks by Takeshi Ihara
See All by Takeshi Ihara
iOSDC20200921: Feature Flagを適切に分類することでA/Bテストの運用コストを下げる
nonchalant
2
1.3k
iOSDC 20190906: 動画アプリの投げ銭機能における 消耗型課金の仕組みと実装
nonchalant
3
5.8k
iOSDC 20190906: 動画アプリの投げ銭機能における 消耗型課金の仕組みと実装 with 発表ノート
nonchalant
2
580
Sign In with Apple
nonchalant
1
2.2k
iOSDC RejectCon 20180915: Factoryの自動生成によりテストを書きやすくする
nonchalant
1
680
iOSDC 20180902: 小さくはじめる端末管理
nonchalant
2
900
devsap 20180728: コード生成のススメ
nonchalant
0
110
potatotips #50: iOSは自動生成の夢を見るか?
nonchalant
0
1.9k
Otemachi.swift x Kyobashi.swift #02: Vapor + ProtocolBuffers + DockerでServer Side Swift入門
nonchalant
1
320
Other Decks in Programming
See All in Programming
いまさら聞けない生成AI入門: 「生成AIを高速キャッチアップ」
soh9834
13
3.9k
本当だってば!俺もTRICK 2022に入賞してたんだってば!
jinroq
0
260
S3静的ホスティング+Next.js静的エクスポート で格安webアプリ構築
iharuoru
0
200
パスキーのすべて / 20250324 iddance Lesson.5
kuralab
0
140
リアルタイムレイトレーシング + ニューラルレンダリング簡単紹介 / Real-Time Ray Tracing & Neural Rendering: A Quick Introduction (2025)
shocker_0x15
1
210
Productivity is Messing Around and Having Fun
hollycummins
0
140
Modern Angular:Renovation for Your Applications @angularDays 2025 Munich
manfredsteyer
PRO
0
150
custom_lintで始めるチームルール管理
akaboshinit
0
160
snacks.nvim内のセットアップ不要なプラグインを紹介 / introduce_snacks_nvim
uhooi
0
360
WordPress Playground for Developers
iambherulal
0
120
令和トラベルにおけるコンテンツ生成AIアプリケーション開発の実践
ippo012
1
270
Go1.24 go vetとtestsアナライザ
kuro_kurorrr
2
700
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
118
51k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Fireside Chat
paigeccino
37
3.3k
Gamification - CAS2011
davidbonilla
81
5.2k
Site-Speed That Sticks
csswizardry
4
450
Faster Mobile Websites
deanohume
306
31k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
22
2.6k
Building Applications with DynamoDB
mza
94
6.3k
Why Our Code Smells
bkeepers
PRO
336
57k
GraphQLの誤解/rethinking-graphql
sonatard
70
10k
Done Done
chrislema
183
16k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Transcript
Best Docker Container in Swift USZ4XJGU$POGFSFODF 5BLFTIJ*IBSB
Swift on Linux 1. Ubuntu 14.x and 16.x 2. Server
Side Swift 3. Docker
Docker Images (Build) • vapor-build:16.04 └─ docker-swift-build:16.04 └─ ubuntu:16.04(LTS) •
vapor-build:14.04 └─ docker-swift-build:14.04 └─ ubuntu:14.04(LTS)
Docker Images (Build) • vapor-build:16.04 └─ docker-swift-build:16.04 └─ ubuntu:16.04(LTS) •
vapor-build:14.04 └─ docker-swift-build:14.04 └─ ubuntu:14.04(LTS)
Docker Images (Build) • vapor-build:16.04 └─ docker-swift-build:16.04 └─ ubuntu:16.04(LTS) •
vapor-build:14.04 └─ docker-swift-build:14.04 └─ ubuntu:14.04(LTS)
Docker Images (Run) • vapor-server:16.04 └─ docker-swift:16.04 └─ ubuntu:16.04(LTS) •
vapor-server:14.04 └─ docker-swift:14.04 └─ ubuntu:14.04(LTS)
Docker Images (Run) • vapor-server:16.04 └─ docker-swift:16.04 └─ ubuntu:16.04(LTS) •
vapor-server:14.04 └─ docker-swift:14.04 └─ ubuntu:14.04(LTS)
Docker Images (Run) • vapor-server:16.04 └─ docker-swift:16.04 └─ ubuntu:16.04(LTS) •
vapor-server:14.04 └─ docker-swift:14.04 └─ ubuntu:14.04(LTS)
Benchmark 4FSWFS $MJFOU .BDIJOF &$DMBSHF &$UNJDSP "QQMJDBUJPO 4XJGU7BQPS "QBDIF#FODI
5JNF TFD 3FRVFTU
GET Concurrency = 10
GET Concurrency = 100 & 1000 5JNF TFD
3FRVFTU $PODVSSFODZ 5JNF TFD 3FRVFTU $PODVSSFODZ
5JNF TFD 3FRVFTU
POST Concurrency = 10
5JNF TFD 3FRVFTU $PODVSSFODZ
5JNF TFD 3FRVFTU $PODVSSFODZ POST Concurrency = 100 & 1000
Docker Images (Build) 6CVOUV EPDLFSTXJGU CVJME WBQPSCVJME .# (#
.# (# .# .# (# .# (# .#
Docker Images (Run) 6CVOUV EPDLFSTXJGU WBQPSTFSWFS .# .# .#
(# .# .# .# .# (# .# ˣ.#
Summary • Each Dockerfile for build and run • nonchalant/docker-swift-build
• nonchalant/docker-swift • Currently, Ubuntu 16.04 is best • Ubuntu 18.04 (LTS) will be better?
Thank you ⚡ • Twitter: @nonchalant0303 • GitHub: @Nonchalant •
https://github.com/Nonchalant/ docker-swift-benchmark