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
EC2 のメモリ / ストレージ / ネットワーク速度 / ec2-throughput
Search
Manabu Sakai
February 15, 2017
Technology
520
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
EC2 のメモリ / ストレージ / ネットワーク速度 / ec2-throughput
Manabu Sakai
February 15, 2017
More Decks by Manabu Sakai
See All by Manabu Sakai
アウトプットが切り拓いた自分のエンジニア人生 / Infra Study 2nd #8
manabusakai
0
31k
GitHub Actions の self-hosted runner と Amazon EKS を使った Docker のビルドパイプライン / secure-docker-build-pipeline
manabusakai
0
2.2k
SaaS における EKS のシングルテナントクラスタ戦略とスポットインスタンス活用術 / EKS single-tenant cluster strategy and Spot Instances
manabusakai
0
9.3k
freee のエンジニアは障害から何を学び、どう改善しているのか? / What do freee engineers learn and improve from failures?
manabusakai
8
21k
我々は Kubernetes の何を監視すればいいのか? / CloudNative Days Kansai 2019
manabusakai
25
9.1k
CI/CD パイプラインを最速で組み立てるための 4 つのポイント / Four points to assemble the CI CD pipeline fastest
manabusakai
9
3.9k
Kubernetes を使ってエンジニア組織の生産性を上げよう / kubernetes-and-engineer-productivity
manabusakai
3
8k
freee のマイクロサービスを K8s + Go で組む! 短期プロジェクト成功の記録 / microservices-using-k8s-and-go
manabusakai
4
12k
Kubernetes 入門者が 3 か月で本番導入するためにやったこと / kubernetes-beginner
manabusakai
7
16k
Other Decks in Technology
See All in Technology
新しいVibe Codingと”自走”について
watany
5
280
[モダンアプリ勉強会]今更聞けないGit/GitHub入門
tsukuboshi
0
340
地球に⽣きるAI —GeoAIと「中間領域」— / AI Living on Earth — GeoAI and the “Intermediate Layer” —
ykiyota
0
170
白金鉱業Meetup_Vol.24_「AIエージェントは分けるほど良い」は本当か? / Is it true that “the more you divide AI agents, the better”?
brainpadpr
1
130
AIを「創る」と「使う」の循環 — HRテックが実践するリアルなAI組織実装
taketo957
0
1.9k
On-behalf-of Token exchange with AgentCore Identity
hironobuiga
2
130
2026TECHFRESH畢業分享會 - 原生還是跨平台? App 開發踩坑實錄
line_developers_tw
PRO
0
610
タクシーアプリ『GO』の実践的データ活用
mot_techtalk
3
190
なぜ Platform Engineering の土台に Kubernetes を選ぶのか
r4ynode
1
530
AGENTS.mdとSkillsで始めるAIエージェント活用
sonoda_mj
2
170
チームで進めるAI駆動アジャイル×ウォーターフォール
kumaiu
0
140
AmazonRoute 53ではじめてのドメイン取得!HTTPS化までの道のりを整理してみた
usanchuu
3
120
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7.1k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
For a Future-Friendly Web
brad_frost
183
10k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
720
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
Exploring anti-patterns in Rails
aemeredith
3
400
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
250
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
570
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
470
Fireside Chat
paigeccino
42
3.9k
A better future with KSS
kneath
240
18k
Transcript
EC2 の メモリ / ストレージ / ネットワーク速度 @manabusakai
今日はエンジニアっぽい 真面目な話をします
自己紹介 Twitter / GitHub @manabusakai
自己紹介 • 坂井 学(さかい まなぶ) • 2016 年にインフラエンジニアとして入社 • Scala
/ Ruby / PHP を書いてました • 得意分野は AWS ◦ AWS 認定ソリューションアーキテクト - プロフェッショナル ◦ AWS 認定 DevOps エンジニア - プロフェッショナル
コンピューティング性能を 意識していますか?
コンピューティング性能とは EC2 はインスタンスタイプごとに決まっている。 • 具体的には ◦ vCPU (CPU Credit) ◦
メモリ ◦ ストレージ ◦ ネットワーク帯域
具体的にどのくらいの速度か 意識していますか?
“m4.large” で調べてみた
CPU ⇆ Memory CPU ⇆ Memory の間は 68 GB/s と高速。
• Xeon E5-2676 v3 @ 2.40 GHz ◦ 最大メモリ帯域幅 : 68 GB/s ◦ 対応メモリ : DDR4 1600/1866/2133 ◦ E5-2676 v3 は AWS 独自モデルのため E5-2670 v3 から推測
Memory ⇆ EBS gp2 だと CPU ⇆ Memory と比べて 435
倍 も遅い。 • General Purpose SSD (gp2) ◦ スループット : 最大 160 MB/s ◦ IOPS : 3 IOPS/GB • Provisioned IOPS SSD (io1) ◦ スループット : 最大 320 MB/s ◦ IOPS : 50 IOPS/GB
EC2 ⇆ Network CPU ⇆ Memory と比べて 1238 倍、 Memory
⇆ EBS と比べて 2.8 倍 も遅い。 • m4.large ◦ 帯域幅 : 最大 450 Mbps ◦ スループット : 56.25 MB/s
速度比較 ネットワークをま たぐとこんなに遅 い!
まとめ • メモリから先はとにかく遅い • クラウド時代でもこの差はなくならない • コードを書くときに、この差を意識してほしい ◦ 良いコードはコンピュータにも優しい
スモールビジネスに携わる方が より創造的な活動にフォーカスできるよう