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
Resolve web application deployment problems for Go
Search
linyows
March 28, 2018
Technology
2
630
Resolve web application deployment problems for Go
March 28, 2018 @fukuoka.go#10 でお話しした資料です
linyows
March 28, 2018
Tweet
Share
More Decks by linyows
See All by linyows
奥が深いメールのシステム / The depth of Email system
linyows
3
360
IaCにおけるテスト考察 / Tests in IaC
linyows
2
370
リバースエンジニアリングとGoでSlackの認知負荷を下げる / Reducing cognitive load in Slack with Reverse-engineering and Go
linyows
2
240
透過型SMTPプロキシによる送信メールの可観測性向上 / Improved observability of outgoing emails with transparent smtp proxy
linyows
2
880
プロダクションで使うGo Pluginの利便性とパフォーマンス性 / Simplicity and Performance of Go plugin for Production
linyows
0
450
求められるソフトウェアエンジニア像とキャリア戦略 / Engineers and Career Strategies Required Now
linyows
2
430
CloudflareのCAPTCHAを使って ユーザ体験を下げず不正利用を排除する / Cloudflare's captcha case study that does not degrade ux
linyows
0
320
なぜNotionを使うのか2022 / Why use notion as our workspace in 2022
linyows
3
5.9k
Denoの仕組み / How deno works as TypeScript runtime
linyows
2
740
Other Decks in Technology
See All in Technology
可視化により内部品質をあげるAIドキュメントリバース/20240910 Hiromitsu Akiba
shift_evolve
0
180
Privacy Sandbox on Android / DroidKaigi 2024
7pairs
1
160
FastConnect の冗長性
ocise
0
7.2k
標準ライブラリの奥深アップデートを掘り下げよう!
logica0419
2
450
AIで変わるテスト自動化:最新ツールの多様なアプローチ/ 20240910 Takahiro Kaneyama
shift_evolve
0
190
SORACOMで実現するIoTのマルチクラウド対応 - IoTでのクリーンアーキテクチャの実現 -
kenichirokimura
0
340
社内の学びの場・コミュニティ形成とエンジニア同士のリレーションシップ構築/devreljapan2024
nishiuma
3
110
contenteditableと向き合う
kikuchikakeru
2
280
20240906_JAWS_Yamanashi_#1_leap_beyond_the_AWS_all_certifications
tsumita
1
260
DroidKaigi 2024 たすけて!ViewModel
mhidaka
5
530
Javaにおける関数型プログラミンへの取り組み
skrb
7
300
OR学会2024秋_短期収益と将来のオフ方策評価性能を考慮したクーポン割当方策混合比の決定
recruitengineers
PRO
4
410
Featured
See All Featured
Side Projects
sachag
451
42k
Speed Design
sergeychernyshev
21
420
Unsuck your backbone
ammeep
667
57k
Code Reviewing Like a Champion
maltzj
518
39k
The Cost Of JavaScript in 2023
addyosmani
41
5.2k
Raft: Consensus for Rubyists
vanstee
135
6.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
How to Think Like a Performance Engineer
csswizardry
16
940
The Mythical Team-Month
searls
218
43k
Documentation Writing (for coders)
carmenintech
65
4.3k
Making Projects Easy
brettharned
113
5.8k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
27
7.4k
Transcript
5PNPIJTB0EB(.01FQBCP *OD .BSDI ϫϯόΠφϦͷ σϓϩΠΛղܾ͢Δ 'VLVPLBHP
'VLVPLBHP (.0ϖύϘϓϦϯγύϧΤϯδχΞ খాԝ!MJOZPXT ٕज़෦ٕज़ج൫νʔϜ IUUQUPNPIJTBPEBDPN
'VLVPLBHP ࠷͍ۙͬͯΔ͜ͱ ▸ (P"1*ͷϦϑΝΫλϦϯάࢦඋʢ΄΅HPSN෦ ▸ &YQSFTKT /VYUKTΞϓϦͷඋ ▸ )BTIJ$PSQ7BVMUͷهࣄࣥච
'VLVPLBHP MJOVYϢʔβͷ໊લղܾΛHJUIVCͷνʔϜίϥϘϨʔλͰߦ͏
'VLVPLBHP લճͷ͓͞Β͍ʢ'VLVPLBHP ▸ $(0େม͚ͩͲطଘϦιʔε͑ͯศར ▸ 3VCZͷਖ਼نදݱΤϯδϯ0OJHNPΛόΠϯσ Οϯά ▸ ҰԠͰ͖ͨIUUQTHJUIVCDPNMJOZPXTHPPOJHNP
'VLVPLBHP ͳͥ0OJHNP ▸ (Pͷਖ਼نදݱΤϯδϯ(PPHMF3& ▸ ࠷ΑΓ҆શΛॏࢹ͍ͯ͠Δ ▸ ઢܗ࣌ؒΛอূ ▸ Ұํɺ0OJHNPઢܗ࣌ؒͰͳ͍ͷͰೖྗ͕খ͚͞Ε͍
▸ ϢʔεέʔεʹΑͬͯ0OJHNPʹϝϦοτ͕͋Δ߹͕͋Δ
'VLVPLBHP $ go test -bench RE2 | sed 's/RE2/Regexp/' >
before $ go test -bench Onigmo | sed 's/Onigmo/Regexp/' > after $ benchcmp before after benchmark old ns/op new ns/op delta BenchmarkRegexp-4 25775 31043 +20.44% ϕϯνϚʔΫ
(PͷϓϩμΫτͰ ϦϦʔεͲ͏͍ͯ͠·͔͢ʁ 'VLVPLBHP
'VLVPLBHP ϓϩμΫτͬͯݴ͍ͬͯΖ͍Ζ͋Δ ▸ ϥΠϒϥϦ ▸ ศརίϚϯυPSπʔϧ ▸ ϛυϧΣΞ ▸ 8FCΞϓϦέʔγϣϯ
'VLVPLBHP ϥΠϒϥϦศརίϚϯυϛυϧΣΞͷ߹ ▸ ϦϙδτϦͰऴΘΓී௨ʹHPHFU ▸ (JUIVC3FMFBTFTͷ"TTFUTʹ6QMPBE"1*Ͱ%PXOMPBE ▸ 31.%&#Ͱ1BDLBHF$MPVEͳͲ
'VLVPLBHP 8FCΞϓϦέʔγϣϯʁʁ ▸ $BQJTUSBOPؒҧ͍ແ͍͚Ͳେ͛͞ ▸ 4IFMMख͕ܰͩɺίϐϖͰ૿৩ͦ͠͏ ▸ #MVF(SFFOΉඞཁͳ͠ʂ
(PϫϯόΠφϦͳͷͰ σϓϩΠָͩͬͨͣ 'VLVPLBHP
(PͰελϯμʔυσϓϩΠ ख๏ͬͯԿʜ 'VLVPLBHP
'VLVPLBHP 8FCΞϓϦέʔγϣϯͷϦϦʔεʹ͓͚Δಛ ▸ ࣄલʹ$*ʢUFTUBOECVJMEʣ͢Δ ▸ සൟʹσϓϩΠ͍ͨ͠ͳͷͰϩʔϧόοΫ͍ͨ͠ ▸ Խͨ͠ϗετʹσϓϩΠ͢Δ ▸ σϓϩΠͷࣦྃഊ௨͍ͤͨ͞
▸ Կ࣌ͲΜͳมߋΛϦϦʔε͔ͨ͠ه͍ͨ͠
8FCΞϓϦέʔγϣϯͩͱ ༷ʑͳσϓϩΠλεΫ͕ඞཁ 'VLVPLBHP
λεΫΉͷ໘ͩ͠ σϓϩΠ͢Δͷ ࠓͷ࣌ɺਓ͡Όͳ͍ΑͶ 'VLVPLBHP
ܧଓతσϓϩΠ ಋೖ͢͠͞ 'VLVPLBHP
͜ΕΒΛղܾ͢Δ ιϑτΣΞΛ࡞Γ·ͨ͠ʂ ㊗㊗㊗㊗㊗ 'VLVPLBHP
͜ΕΒΛղܾ͢Δ ιϑτΣΞΛ࡞Γ·ͨ͠ʂ ㊗㊗㊗㊗㊗ 'VLVPLBHP ൃදυϦϒϯ։ൃɺࣦഊʜ ؒʹ߹͍·ͤΜͰͨ͠
'VLVPLBHP ͲΜͳͷΛ࡞͍ͬͯΔͷ͔ ▸ ϙʔϦϯάܕσϓϩΠπʔϧ ▸ (PTFSWFSTUBSUFSΛแ͢Δ ▸ ඞཁͦ͏ͳλεΫσϑΥϧτͰ࣮ ▸ ͪΖΜ֦ுੑߟ͍͑ͯΔ
'VLVPLBHP ͜ΜͳϝϞ͕ग़͖ͯͨ
'VLVPLBHP ͲΜͳͷΛ࡞͍ͬͯΔͷ͔ ϦϙδτϦ (*5 (*5)6# ϓϩηεϚωʔδϟ 4&37&345"35&3 ΞϓϦ$633&/5 ΞϓϦ/&8 Φʔσ
Οοτ '*-& 13 Ωϟογϡ 3&%*4 $0/46- ௨ 4-"$, ϙʔϦϯά
1VTI͢Δͱ͍͍ײ͡ʹ 8FCΞϓϦ͕ϦϦʔε͞ΕΔ ϓϩηεϚωʔδϟ 'VLVPLBHP తʹݴ͏ͱ
ܧଓతσϓϩΠ ಋೖ͢͠͞ 'VLVPLBHP
'VLVPLBHP ·ͱΊ ▸ 8FCΞϓϦέʔγϣϯͷσϓϩΠਵλεΫ͕ଟ͘ɺͦΕ ϫϯόΠφϦͰ͋Δ(Pʹ͓͍ͯಉ͡ ▸ ൃදυϦϒϯͰ։ൃ͢Δͱؒʹ߹Θͳ͍Ͳ͜Ζ͔ɺൃදࢿྉΛ લʹ࡞Δ͜ͱʹͳΔ ▸ ͕ɺ͍େࣄͳͷͰɺࠓޙ͍ͬͯ͘
▸ ͦͯ͠ɺӶҙ։ൃதʂ
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ 'VLVPLBHP