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.2k
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.7k
iOSDC 20190906: 動画アプリの投げ銭機能における 消耗型課金の仕組みと実装 with 発表ノート
nonchalant
2
550
Sign In with Apple
nonchalant
1
2.1k
iOSDC RejectCon 20180915: Factoryの自動生成によりテストを書きやすくする
nonchalant
1
640
iOSDC 20180902: 小さくはじめる端末管理
nonchalant
2
860
devsap 20180728: コード生成のススメ
nonchalant
0
110
potatotips #50: iOSは自動生成の夢を見るか?
nonchalant
0
1.8k
Otemachi.swift x Kyobashi.swift #02: Vapor + ProtocolBuffers + DockerでServer Side Swift入門
nonchalant
1
310
Other Decks in Programming
See All in Programming
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
Ethereum_.pdf
nekomatu
0
460
Jakarta EE meets AI
ivargrimstad
0
200
Realtime API 入門
riofujimon
0
150
Macとオーディオ再生 2024/11/02
yusukeito
0
370
subpath importsで始めるモック生活
10tera
0
310
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
Jakarta EE meets AI
ivargrimstad
0
590
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.4k
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
340
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
1.4k
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Site-Speed That Sticks
csswizardry
0
27
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Done Done
chrislema
181
16k
Speed Design
sergeychernyshev
25
620
Docker and Python
trallard
40
3.1k
Six Lessons from altMBA
skipperchong
27
3.5k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
130
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