Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
1年間ISUCONの素振り環境を作り続けて学んだ環境構築Tips / Tips on Bui...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
tetsuzawa
January 12, 2024
Programming
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
1年間ISUCONの素振り環境を作り続けて学んだ環境構築Tips / Tips on Building an Environment Learned from Creating a Practice Setup for ISUCON for One Year
2024年1月11日に開催されたISUCON公式反省会でLTした内容です。
https://connpass.com/event/304701/
tetsuzawa
January 12, 2024
More Decks by tetsuzawa
See All by tetsuzawa
セキュリティSaaS企業が実践するCursor運用ルールと知見 / How a Security SaaS Company Runs Cursor: Rules & Insights
tetsuzawa
1
5.2k
テスト.pdf
tetsuzawa
0
59
Other Decks in Programming
See All in Programming
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
100
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
140
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
440
気持ちぃ〜角丸 Squircle
ryu1013
0
310
Event is what happens
moro
2
860
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
400
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
180
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
220
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.3k
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
3
430
R8 の設定見直しでアプリサイズ削減
andpad
0
220
Featured
See All Featured
Skip the Path - Find Your Career Trail
mkilby
1
260
Between Models and Reality
mayunak
4
500
Scaling GitHub
holman
464
140k
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
760
Optimising Largest Contentful Paint
csswizardry
37
4k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
950
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
Embracing the Ebb and Flow
colly
88
5.2k
Darren the Foodie - Storyboard
khoart
PRO
4
4k
Transcript
1年間ISUCONの素振り環境を 作り続けて学んだ環境構築Tips 2024/01/11 taki (@tetsuzawa)
soudai macopy taki 失敗から学ぶISUCONの正しい歩き方 - 葬送のPostgreSQL - 歴史上でもっとも多くのMySQLを葬り去った 魔法使い チーム
今日伝えたいこと 質の高い素振りを支える環境構築
どんな素振りをしているか?どんな環境作っているか? • ほぼ月イチで開催 ◦ 基本的に本番のタイムテーブルの流れで通し練習をする • 毎回テーマを決める ◦ 役割分担を変えてみる ◦
Otelやtailscaleを試す • AWS上に構築 • terraformで環境構築・破壊する
Tips① ベースのami idを競技サーバーごとに変えられると便利 • 後日続きから素振りをするときに 作っておいたami idで起動するだ けで済む ◦ 複数台構成を保存するとき必
要
Tips② isuconユーザーでsshできると本番に近い環境で練習できる • aws-isuconのamiではubuntuユーザーでsshしてからISUCONユー ザーにsuするようになっている • デプロイスクリプトが本番環境で動かない!などを避けられる • 自分はterraform +
EC2を起動時のユーザーデータで実現してる
Tips② isuconユーザーでsshできると本番に近い環境で練習できる
Tips③ サーバーのスペックの制限はgrubで実現できる • 本番の環境ではサーバーごとにスペックが異なることがある • EC2のインスタンスタイプにちょうどいいものがない • サーバーごとに役割分担割当を変える練習で必要 • 本番とスコアを比較しやすい
余談
余談(懺悔) 前日までに環境を準備してベンチマーカーの動作確認をしておくべき • 複数人で素振りをするときにベンチマーカー実行のデバッグで時間を 取られるともったいない • ゆるふわにやるならみんなでデバッグするのもまた一興 • 経験上TLS証明書や実行オプションで詰まることが多い
素振りを頑張っても勝てるわけではない
いろいろなアイディアを募集してます!