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
tetsuzawa
January 12, 2024
Programming
110
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
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
0
1.8k
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.1k
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
100
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
2
300
Are APIs Still Relevant in the AI Era?
soyuka
0
310
すこし踏み込む CancellationToken
htkym
2
960
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
570
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
130
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
470
thread_parallel_with_free-threaded_Python_and_NumPy.pdf
riku_sakamoto
0
360
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
8.3k
Intent as Code
shoppingjaws
6
1.1k
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
225
10k
Navigating Team Friction
lara
192
16k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
Google's AI Overviews - The New Search
badams
0
1.6k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
550
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
710
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
480
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
66k
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証明書や実行オプションで詰まることが多い
素振りを頑張っても勝てるわけではない
いろいろなアイディアを募集してます!