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
580
趣味の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
2.7k
Redash で踏み出す BI 導入はじめの一歩 / DataEngineeringStudy Redash
ariarijp
1
1.5k
Redash のいま / Redash in 2021
ariarijp
2
920
Redash 導入・運用を4年ぐらいやって変わったこと・変わらなかったこと / Changed and unchanged things with Redash and me
ariarijp
0
1.2k
5年前の自分に伝えたい広告 API 周辺の歩き方 / SOT Tech Night vol.1
ariarijp
1
410
使われていない、を知る / How do we know unused things in the real world?
ariarijp
0
370
MULTI_ORG について / What is MULTI_ORG in Redash
ariarijp
1
3k
あらためて振り返る Redash の使いどころ / Why I strongly recommend Redash
ariarijp
2
1.1k
PHP Data Structures
ariarijp
1
490
Other Decks in Programming
See All in Programming
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
230
今、知っておきたい! 生成AIエージェントの世界
elith
3
350
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
490
SIMD Parallel Programming with the Vector API
josepaumard
0
120
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
190
Anthropic Cookbook のおすすめレシピ
schroneko
7
880
Random\Randomizer クラスで日常のあれこれを解決しよう! / Random\Randomizer class solves familiar trouble
cocoeyes02
0
220
使ってみよう Azure AI Document Intelligence
kosmosebi
2
290
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
730
GraphQLサーバの構成要素を整理する #ハッカー鮨 #tsukijigraphql / graphql server technology selection
izumin5210
4
820
Site Reliability Engineering for GMO
pyama86
7
1k
Hanami and htmx
bkuhlmann
0
210
Featured
See All Featured
Fireside Chat
paigeccino
21
2.6k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Side Projects
sachag
451
41k
Raft: Consensus for Rubyists
vanstee
132
6.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
40
4.4k
GitHub's CSS Performance
jonrohan
1025
450k
How to train your dragon (web standard)
notwaldorf
73
5.2k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
The Invisible Side of Design
smashingmag
294
49k
Agile that works and the tools we love
rasmusluckow
325
20k
A better future with KSS
kneath
231
16k
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)