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
Canary release in Ieul
Search
Yohei Susa
July 19, 2016
Programming
1.5k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Canary release in Ieul
Yohei Susa
July 19, 2016
Transcript
25 slides
҆৺ϦϦʔε in ΠΤʔϧ @suemoc
ࣗݾհ • ΠΤʔϧࣄۀ ΤϯδχΞ • twitter/GitHub/nintendo-ID: suemoc
ࠓͷΰʔϧ ΧφϦΞϦϦʔεͰ҆৺ϦϦʔεͰ͖ΔΒ͍͠
ΠΤʔϧʁ • ෆಈ࢈ҰׅࠪఆαʔϏε • ఏܞࣾ & ૹ٬ ۀքτοϓΫϥε
ΠΤʔϧʁ ച্ਪҠ
ച্֦େʹΑΔӨڹ CVR͕0.1%Լ͕Δ = ച্200ສԁͷଛࣦ / ݄
ϦϦʔε͕ා͍
ϦϦʔε͕ා͍ • CVʹӨڹ͢ΔΤϥʔͷൃੜ • ϦϦʔεʹΑΔ༧ظͤ͵ϢʔβڍಈͷมԽ • etc… Կ͔ى͖ͨͱ͖ͷࣄۀͷΠϯύΫτ͕େ͖͘ɺ ҆৺ͯ͠ϦϦʔεͰ͖ͳ͍
ϦϦʔεͷϦεΫΛݮΒ͢ʹʁ • ςετͷॆ࣮ • shadow proxyͰϦϦʔεલʹΤϥʔΛݕग़(ex. kage)
ϦϦʔεͷϦεΫΛݮΒ͢ʹʁ • CVR͕Լ͕ͬͨΒʁ • ఆ֎ͷϢʔβͷڍಈ͕͋ͬͨΒʁ ͬͱࠜຊతʹϦεΫΛݮΒ͍ͨ͠
ΧφϦΞϦϦʔε
ΧφϦΞϦϦʔεʁ • ݱঢ়όʔδϣϯͱ৽όʔδϣϯͷαʔϏεΛฒྻͯ͠Ϧ Ϧʔε • ஈ֊తʹΞΫηεઌΛ৽όʔδϣϯʹΓସ͑Δ • Կ͔͕ൃੜͨ͠ΒݱόʔδϣϯʹϩʔϧόοΫ cf. ϒϧʔάϦʔϯσϓϩΠ
ΧφϦΞϦϦʔεʁ ग़య: http://martinfowler.com/bliki/CanaryRelease.html
ΧφϦΞϦϦʔε in
ΧφϦΞϦϦʔε in ΠΤʔϧ
ϦϦʔεϑϩʔ in ΠΤʔϧ ᶃ STGڥͰςετ ᶄ CANARYڥʹϦϦʔ ε & Ұఆظؒݕূ
ᶅ PRODUCTIONڥʹϦ Ϧʔε
ϦϦʔεͷϦεΫ… CVR͕0.1%Լ͕Δ = ച্200ສԁͷଛࣦ / ݄ = ച্20 ສԁͷଛࣦ /
݄ ϦεΫ͕1/10ʹݮ
গ҆͠৺
ΧφϦΞϦϦʔεڥͷߏங
ߏங - nginx • ϦΫΤετͷ1/10ΛcanaryڥʹૹΔ upstream backend { sticky; server
10.6.0.130:9040 weight=9; server 10.6.0.131:9040; # canary }
ߏங - ηογϣϯҡ࣋ • Ϣʔβͷηογϣϯҡ͍࣋ͨ͠ • ಉ͡Ϣʔβಉ͡αʔόʹૹΒΕͯ΄͍͠ • nginxͷsticky sessionΛར༻
(3rd party module) https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/ overview
ߏங - ηογϣϯҡ࣋(༨ஊ) • ॳظnginxͷip_hashΛ͏༧ఆͩͬͨ • ip_hash: IPΞυϨεͰͲͷαʔόʹৼΓ͚Δ͔ܾΊΔ • ϥϯσΟϯά
→ CVͷؒʹIPΞυϨε͕มΘΔϢʔβ͕ 1.5%ଘࡏͨͨ͠Ίɺෆ࠾༻ • ओʹϞόΠϧΞΫηε
ࠓͷΰʔϧ ΧφϦΞϦϦʔεͰ҆৺ϦϦʔεͰ͖ΔΒ͍͠
ิ - ΧφϦΞϦϦʔε͕ಋೖ͠ʹ͍͘αʔϏε • Ϧϐʔλʔ͕ॏཁͳαʔϏε (ΠΤʔϧ΄΅৽نϢʔβͷΈ) • ༗ྉαʔϏε
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠
Other Decks in Programming
See All in Programming
SODA - FACT BOOK(EN)
sodainc
1
280
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
210
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
190
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
690
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
140
将来の標準フォーマッター?ktfmtを深堀る
t45k
0
250
はじめてのPLATEAU
nokonoko1203
1
670
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
340
Lean で手続き的プログラム の証明が書けるようになった
inoueasei
5
900
ruby/uri meets WHATWG
jinroq
0
110
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
130
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
433
67k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
610
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
How to build a perfect <img>
jonoalderson
1
6.3k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
1k
My Coaching Mixtape
mlcsv
0
400
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
630
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
540
So, you think you're a good person
axbom
PRO
2
2.3k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
340
Between Models and Reality
mayunak
4
610
We Are The Robots
honzajavorek
0
460