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
趣味のGoから商売道具としてのGoへ
Search
Takuya Arita
February 16, 2016
Programming
0
640
趣味のGoから商売道具としてのGoへ
Goもくもく会(ごもくかい)#3の発表資料です
Takuya Arita
February 16, 2016
Tweet
Share
More Decks by Takuya Arita
See All by Takuya Arita
Hosted Redash の EOL と移行ツール redash-migrate / You should know about Hosted Redash EOL and redash-migrate
ariarijp
0
3.1k
Redash で踏み出す BI 導入はじめの一歩 / DataEngineeringStudy Redash
ariarijp
1
2.3k
Redash のいま / Redash in 2021
ariarijp
2
1.1k
Redash 導入・運用を4年ぐらいやって変わったこと・変わらなかったこと / Changed and unchanged things with Redash and me
ariarijp
0
1.3k
5年前の自分に伝えたい広告 API 周辺の歩き方 / SOT Tech Night vol.1
ariarijp
1
500
使われていない、を知る / How do we know unused things in the real world?
ariarijp
0
420
MULTI_ORG について / What is MULTI_ORG in Redash
ariarijp
1
3.6k
あらためて振り返る Redash の使いどころ / Why I strongly recommend Redash
ariarijp
2
1.2k
PHP Data Structures
ariarijp
1
540
Other Decks in Programming
See All in Programming
Select API from Kotlin Coroutine
jmatsu
1
190
エラーって何種類あるの?
kajitack
5
310
第9回 情シス転職ミートアップ 株式会社IVRy(アイブリー)の紹介
ivry_presentationmaterials
1
240
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
390
XP, Testing and ninja testing
m_seki
3
200
DroidKnights 2025 - 다양한 스크롤 뷰에서의 영상 재생
gaeun5744
3
330
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
47
31k
Go1.25からのGOMAXPROCS
kuro_kurorrr
1
810
0626 Findy Product Manager LT Night_高田スライド_speaker deck用
mana_takada
0
110
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
1
690
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
210
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
570
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
223
9.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Balancing Empowerment & Direction
lara
1
380
Designing for humans not robots
tammielis
253
25k
Building an army of robots
kneath
306
45k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
The Cult of Friendly URLs
andyhume
79
6.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Transcript
झຯͷGo͔Β ചಓ۩ͱͯ͠ͷGo @ariarijp
w !BSJBSJKQ 5BLVZB"SJUB w גࣜձࣾίίϥϒϧ ιϑτΣΞΤϯδχΞ ࣗݾհ
”झຯ”ͰGoΛ ษڧ͍ͯ͠·͢
Έͳ͞ΜGoΛ “ࣄ”Ͱ͍ͬͯ·͔͢ʁ
͔ͤͬ͘ษڧ͢ΔͳΒࣄͰ͍͍ͨͷͰ ͪΐͬͱͨ͠πʔϧΛॻ͍ͯΈ·ͨ͠
Canaryeye https://github.com/ariarijp/canaryeye
ԿΛ͢ΔͨΊͷπʔϧ͔ • ApacheͷϩάΛࢹͯ͠ɺNඵҎʹMճҎ্ͷϦΫΤετ͕ ಉҰͷϗετ͔Β͋ͬͨΒɺࢦఆ͞ΕͨίϚϯυʹύΠϓͰ JSONจࣈྻΛૹΔ • ड͚औͬͨଆͷίϚϯυͰSlackΛͬͯ௨ͱ͔͓͖ͳΑ͏ ʹͰ͖Δ • ۩ମతʹ(D)DoSͬΆ͍งғؾΛΞΫηεϩά͔Βݕ͍ͨ͠
• songmu͞Μͷhorensoʹڧ͘ӨڹΛड͚·ͨ͠
CanaryeyeΛ࡞Γͳ͕Βߟ͑ͨ͜ͱ • GoΛͬͯͳΜΒ͔ͷՁΛग़͍ͨ͠ • ແཧͯ͠ϝϯςφϯε͕ਏ͘ͳΔΛ࡞Βͳ͍ • ʮͳͯ͘ࠔΒͳ͍ʯ͚Ͳʮ͋ͬͨΒศརʯΛࢦ͢ • goroutineΛͬͨΓͯ͠ɺGoͬΆ͍ίʔυΛॻ͖ͨ ͍
• Τϥʔॲཧ͕·͍͠
͔ͤͬ͘ॻ͍ͨͷͰ ຊ൪ڥʹೖΕͯΈ·ͨ͠
ຊ൪Ͱಈ͔ͯ͠Έͯࢥͬͨ͜ͱ • όΠφϦૹΓ͚ͭΔ͚ͩͰಈ͘ͱ͍͏ͷͱͯ ָ • ؆୯ʹΫϩείϯύΠϧͰ͖Δͷڧ͍ • ຊؾͰ͏ͳΒσʔϞϯԽ͠ͳ͍ͱ͍͚ͳ͍ͷ Ͱɺsupervisordͱ͔͕ඞཁ͔ͳͱࢥͬͨ •
ςετॻ͜͏
͜Μͳײ͡Ͱࠓ͔Β Go࠾༻اۀʹͳͬͨؾ͕͠·͢
GoΛࣄͰ͍ͬͯΔͱ͍͏ํ Ͳ͏ͬͯݱʹಋೖ͍͔ͯͬͨ͠ ͥͻڭ͑ͯԼ͍͞
os.Exit(0)